| 1 | # This must be set to the directory where eZ Publish is installed. |
| 2 | EZPUBLISHROOT=/path/to/the/ez/publish/directory |
| 3 | |
| 4 | # Location of the PHP Command Line Interface binary. |
| 5 | PHP=/usr/local/bin/php |
| 6 | |
| 7 | # Instruct cron to run the main set of cronjobs |
| 8 | # at 6:35am every day |
| 9 | 35 6 * * * cd $EZPUBLISHROOT && $PHP runcronjobs.php -q 2>&1 |
| 10 | |
| 11 | # Instruct cron to run the "infrequent" set of cronjobs |
| 12 | # at 5:20am every Monday |
| 13 | 20 5 * * 1 cd $EZPUBLISHROOT && $PHP runcronjobs.php -q infrequent 2>&1 |
| 14 | |
| 15 | # Instruct cron to run the "frequent" set of cronjobs |
| 16 | # every 15 minutes |
| 17 | 0,15,30,45 * * * * cd $EZPUBLISHROOT && $PHP runcronjobs.php -q frequent 2>&1 |
| 18 | |