You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
biozshock edited this page Sep 14, 2010
·
3 revisions
Download library from github repository git://github.com/biozshock/crontab.git
If you are familiar with phpunit you can test library. Tests are located in tests subdirectory
Copy config/crontab.php and libraries/crontab.php
Setup config/crontab.php
Use this library
Crontab library config file
cronfile
Path to cronfile library will write all jobs
php_path
Path to PHP executable
crontime
Crontab library default format for date() function
cli_path
PHP cli scripts path
time_offset
This config variable can be used when your server has different timezone from timezone of tasks you want to be cheduled. e.g. server is in -5 timezone. backend in +1 timezone. in backend you setting cronjob for 00:00:00, but for server this would be 14:00:00