I have a CasperJS script which works. My question is how can I schedule it to run at a specified time every day?
Could not find any good solutions online... Is there any way without using spooky?
I have a CasperJS script which works. My question is how can I schedule it to run at a specified time every day?
Could not find any good solutions online... Is there any way without using spooky?
You can use a cron job if you are running a *nix server.
For example you want your script to run everyday at 04:20, run this command :
crontab -e
then add this line :
20 4 * * * /your/command