Questionnez la Communauté
Ask any professional question and get answers from other specialists.
What should be ideal output of a PHP script which is called by Cron on hourly basis?
Cron is a system daemon used to execute desired tasks (in the background) at designated times.A crontab is a simple text file with a list of commands meant to be run at s ... Voir Plus
cron job scheduler is used to schedule tasks regularly. crontab -e is used to edit and add crontab jobs. crontab -l to list the jobs written as a specific user. crontab - ... Voir Plus
You can log its output to a file for later debug and monitor. You can do that from crontab: * * * php /path/to/task1.php >> /path/to/task1.log
As the cron runs without any user interaction, it doesn't really matter what output script gives. But, if you want to monitory progress of your cron scripts, add the ... Voir Plus
The five stars at the beginning specifies the time ***** /COMMANDTORUN 1st star Min(0-) 2nd star Hour(0-) 3rd Star DAY of the month(1-) 4th Star Month(1-or Jan-Dec) 5th ... Voir Plus