Fix crontab typos for gerrit jobs.

Change-Id: Ibd0b539dd0e68f0f420103a82733791baf382836
Reviewed-on: https://review.openstack.org/240
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
This commit is contained in:
James E. Blair 2011-08-15 13:57:15 -07:00 committed by Jenkins
parent f252d95d5c
commit 4d39ca5280

View File

@ -26,19 +26,19 @@ $commentlinks = [ { name => 'launchpad',
cron { "gerritupdateci":
user => gerrit2,
minute => "*/15",
command => "sleep $((RANDOM%60)) && cd /home/gerrit2/openstack-ci && /usr/bin/git pull -q origin master"
command => "sleep $((RANDOM\%60)) && cd /home/gerrit2/openstack-ci && /usr/bin/git pull -q origin master"
}
cron { "gerritsyncusers":
user => gerrit2,
minute => "*/15",
command => "sleep $((RANDOM%60+60)) && cd /home/gerrit2/openstack-ci && python gerrit/update_gerrit_users.py"
command => "sleep $((RANDOM\%60+60)) && cd /home/gerrit2/openstack-ci && python gerrit/update_gerrit_users.py"
}
cron { "gerritclosepull":
user => gerrit2,
minute => "*/5",
command => "sleep $((RANDOM%60+90)) && cd /home/gerrit2/openstack-ci && python gerrit/close_pull_requests.py"
command => "sleep $((RANDOM\%60+90)) && cd /home/gerrit2/openstack-ci && python gerrit/close_pull_requests.py"
}
file { '/home/gerrit2/github.config':