cosmos-cron-wrapper: Add '--random-sleep'
Now that run-cosmos in multiverse understands --random-sleep, use it in the cron wrapper to make machines spread out the load.
This commit is contained in:
parent
c4706b5c9c
commit
49c3ca2941
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
test -f /etc/no-automatic-cosmos && exit 0
|
||||
|
||||
RUN_COSMOS='/usr/local/bin/run-cosmos'
|
||||
RUN_COSMOS='/usr/local/bin/run-cosmos --random-sleep'
|
||||
SCRIPTHERDER_CMD=''
|
||||
|
||||
if [ -x /usr/local/bin/scriptherder ]; then
|
||||
|
|
Loading…
Add table
Reference in a new issue