Day of month
This commit is contained in:
parent
5a2c9becab
commit
e99b49aa8e
|
@ -1086,7 +1086,7 @@ function randomize_cron {
|
|||
# randomize monthly cron job time and day
|
||||
randmin=$(($RANDOM%60))
|
||||
randhr=$(($RANDOM%22+1))
|
||||
randdom=$(($RANDOM%22+1))
|
||||
randdom=$(($RANDOM%27+1))
|
||||
sed -i "s|52 6\t|$randmin $randhr\t|g" /etc/crontab
|
||||
sed -i "s|\t1 \* \*|\t$randdom * *|g" /etc/crontab
|
||||
|
||||
|
|
Loading…
Reference in New Issue