-
Notifications
You must be signed in to change notification settings - Fork 17
installation
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
- 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