forked from netgen/ezpublish-legacy
-
-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathezpublish.cron
More file actions
17 lines (13 loc) · 630 Bytes
/
ezpublish.cron
File metadata and controls
17 lines (13 loc) · 630 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# This must be set to the directory where eZ Publish is installed.
EZPUBLISHROOT=/path/to/the/ez/publish/directory
# Location of the PHP Command Line Interface binary.
PHP=/usr/local/bin/php
# Instruct cron to run the main set of cronjobs
# at 6:35am every day
35 6 * * * cd $EZPUBLISHROOT && $PHP runcronjobs.php -q 2>&1
# Instruct cron to run the "infrequent" set of cronjobs
# at 5:20am every Monday
20 5 * * 1 cd $EZPUBLISHROOT && $PHP runcronjobs.php -q infrequent 2>&1
# Instruct cron to run the "frequent" set of cronjobs
# every 15 minutes
0,15,30,45 * * * * cd $EZPUBLISHROOT && $PHP runcronjobs.php -q frequent 2>&1