Home Contact Buy Now
Home Download Video Free Buy Now Site Map Contact

What Is Cron Schedule

Time Tracker uses cron format specification to schedule its notifications and calculate record locking. You can read more about it here.

Essentially, it is 5 text fields separated by spaces. The fields hold possible values for minute, hour, day of month, month, and day of week. Here are some examples:
0 * * * * - hourly on top of the hour
15 8 1 * * - monthly on the 1st at 8:15
0 4 * * 1 - weekly on Mondays at 4:00

Time Tracker Notifications

For notifications to work, Time Tracker admin must configure an external program to regularly execute cron.php file located in the root. On UNIX-like systems it is usually the cron daemon. Timing accuracy and frequency of notifications depend on how often cron.php is executed. When the script runs, it determines which notifications are due, sends them out, and re-calculates their next run-time. On https://timetracker.anuko.com this script runs hourly.

Record Locking

Suppose we want to lock records for modifications at the end of each work week. How do we do it?
  • First, we enable the Locking plugin on the Team Profile page. Check the box on the left and click Save.
  • Then, we configure it by providing a cron specification to it, such as:
0 10 * * 1
The above means weekly on Mondays at 10:00. When server time reaches 10:00 on a Monday, all records before Monday become non-modifiable for regular users (not managers). Note that users still have an option to alter things on Mondays for a previous week, but only until 10 AM.


Time Tracker User Guide