crontab

The actions of cron are driven by a crontab (cron table) file, a configuration file that specifies shell commands to run periodically on a given schedule

To edit the cron table, run the command

crontab -e

Once done, CTRL+x – Y to close the file

Some available keywords:

$reboot /home/pi/test.sh
@yearly /home/pi/test1.sh can also be @annually
@monthly
@daily or @midnight
@hourly

To execute a php script for example:

@daily php path_to_script/script.php

example:

@daily php /var/www/MONEY/resfresh_schedules.php