Open sec12tst8r84 opened 2 days ago
The configuration section https://github.com/robertjdominguez/ez-resy?tab=readme-ov-file#configuration walks through where to find the various values that are required for the program to run.
To run this at a certain time, you'll need to use something called a cron job: https://en.wikipedia.org/wiki/Cron
On Tue, Sep 24, 2024 at 11:39 PM sec12tst8r84 @.***> wrote:
Hello, thank you for providing your script. This is my first time using Node.js and I installed it to run your script. I've followed your README instructions to the best of my ability but unfortunately I'm not much of a programmer. When I type run start, I get the following error: > @.*** start
./env_manager.sh && dotenv -e .env node index.js
'.' is not recognized as an internal or external command, operable program or batch file.
So I added the DATE line manually and did start:today but I've ended up with "JWT token not found in the AUTH_TOKEN environment variable" and I am unsure how to fix it.
Secondly, is there a way to run this script at a certain time? Thank you.
— Reply to this email directly, view it on GitHub https://github.com/robertjdominguez/ez-resy/issues/7, or unsubscribe https://github.com/notifications/unsubscribe-auth/AF2CUBLQJL226YNQFOQBKL3ZYI5BJAVCNFSM6AAAAABOZUVXSGVHI2DSMVQWIX3LMV43ASLTON2WKOZSGU2DMOBYGQYDINQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>
Hi Robert, Thank you for replying. I've gotten my auth token by following the readme file. . Below is my env file. I've named it process.env.
The application expects the file to be called .env
. You can learn more about Node.js and its use of environment files here: https://nodejs.org/en/learn/command-line/how-to-read-environment-variables-from-nodejs
Hello, thank you for providing your script. This is my first time using Node.js and I installed it to run your script. I've followed your README instructions to the best of my ability but unfortunately I'm not much of a programmer. When I type run start, I get the following error: > resy@1.0.0 start
'.' is not recognized as an internal or external command, operable program or batch file.
So I added the DATE line manually and did start:today but I've ended up with "JWT token not found in the AUTH_TOKEN environment variable" and I am unsure how to fix it.
Secondly, is there a way to run this script at a certain time? Thank you.