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:
Patrik Lundin 2025-03-24 12:26:06 +01:00
parent c4706b5c9c
commit 49c3ca2941
Signed by untrusted user: patlu
GPG key ID: A0A812BA2249F294

View file

@ -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