So, I have attempted to get crontab to run a node.js file at a set time everyday. I have set it up by doing
crontab -e. I have tested that it runs every minute by using the below:
* * * * * //path of files
This makes it run just fine on the minute. However, if I try to set it to a specific time, it won't run. For example, if I try to have it run at 12:48pm, it will not run:
48 12 * * * //path of files
I have tried to troubleshoot everything and it clearly a time issue. It is an EC2 server located in Oregon. I have adjusted my time to be for Oregon time and it still will not run.
Is there something special that needs to be changed with crontab command if you set a specific time vs. just having it execute every minute? Do you have to set a specific time 5 minutes or more ahead of time to make it run?
I'm at a loss as to why this will not run my file at a specific time, but will run every minute just fine.