forked from docker/comanage-registry-docker
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Update default crontab for 4.0.0 syntax
Update the default crontab to use the 4.0.0 syntax.
Showing
1 changed file
with
10 additions
and
3 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1,7 +1,14 @@ | ||
SHELL=/bin/bash | ||
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin | ||
MAILTO="" | ||
# Deprecated job to run expirations, syncorgsources, and groupvalidity tasks (until Registry v4.0.0) | ||
0 1 * * * cd /srv/comanage-registry/app && ./Console/cake job -q | ||
# Run the job queue for CO 1 every 5 minutes starting at minute 0 | ||
# Run Expiration Policies for CO 1 once a day at 1:00 AM | ||
0 1 * * * cd /srv/comanage-registry/app && ./Console/cake job CoreJob.Expire -s --coid 1 | ||
|
||
# Run Synchronize Org Identity Sources for CO 1 once a day at 1:00 AM | ||
0 1 * * * cd /srv/comanage-registry/app && ./Console/cake job CoreJob.Sync -s --coid 1 | ||
|
||
# Run Validate Group Member for CO 1 once a day at 1:00 AM | ||
0 1 * * * cd /srv/comanage-registry/app && ./Console/cake job CoreJob.ValidateGroupMember -s --coid 1 | ||
|
||
# Run queued jobs for CO 1 every 5 minutes | ||
0-59/5 * * * * cd /srv/comanage-registry/app && ./Console/cake job -q -r -c 1 |