-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added: Added ezpedia.org production crontab example
- Loading branch information
1 parent
6d9797b
commit bdd1cdb
Showing
1 changed file
with
36 additions
and
0 deletions.
There are no files selected for viewing
36 changes: 36 additions & 0 deletions
36
config/crontab/ezpedia_production_crontab_2017-01-07--2111.cron
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
######################################## | ||
# eZpedia : eZ Publish Default Cronjob Configuration | ||
######################################## | ||
|
||
# This must be set to the directory where eZ Publish is installed. | ||
EZPUBLISHROOT=/data/ezpedia-ezpublish/www-data/vhosts/www.ezpedia.org/ezp/ezpublish_legacy | ||
|
||
# Location of the PHP Command Line Interface binary. | ||
PHP=/usr/bin/php | ||
|
||
######################################## | ||
# eZpedia : eZ Publish Default Cronjobs | ||
######################################## | ||
|
||
# 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 | ||
|
||
######################################## | ||
# eZpedia : Custom site specific cronjobs | ||
######################################## | ||
|
||
# We run the frequent cronjob part much more frequently than the default | ||
*/5 * * * * cd $EZPUBLISHROOT && $PHP runcronjobs.php -s en -q --logfiles frequent; | ||
|
||
|
||
|
||
######################################## |