From 09755c7b4ae5c10d8421e57e3a2fdd87240c93b4 Mon Sep 17 00:00:00 2001 From: Scott Koranda Date: Mon, 13 Sep 2021 08:37:20 -0500 Subject: [PATCH] Update default crontab for 4.0.0 syntax Update the default crontab to use the 4.0.0 syntax. --- comanage-registry-cron/www-data-crontab | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/comanage-registry-cron/www-data-crontab b/comanage-registry-cron/www-data-crontab index df30457..fc3898d 100644 --- a/comanage-registry-cron/www-data-crontab +++ b/comanage-registry-cron/www-data-crontab @@ -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