Is it possible to send a favorite report every 5 min from 7:00am to 9:00am, every day (Monday - Friday)?
cron notification: 0,05 * * * 1-5
I need cron runs every 5 mins
0,5,10,15,20,25,30,35,40,45,50,55 7-8 * * 1-5
Processing occurs when cron.php script is executed. It compares tt_cron.next value with now and, if a report is due, sends it out and re-calculates its next run time. Therefore, timing accuracy actually depends on how often cron.php is called. To match cron spec precisely, you'll need to call it every minute but this will add unnecessary load on your server. Configure your timing wisely. We recommend hourly or even less frequent pings.
Below is an example of crontab entry to process notifications hourly at 5 minutes past each hour.
# timetracker ping to execute scheduled jobs
5 * * * * root /usr/bin/php /var/www/timetracker/cron.php
dell810 wrote:Hi again,
I use a pc with windows 8 and xampp.
Locate the php.exe executable on your system and pass it the name of the script file using the -f parameter.
C:\Xampp\php\php.exe -f C:\Xampp\htdocs\timetracker\cron.php
Users browsing this forum: No registered users and 1 guest