Update dehydrated cronjob script to run in background.
This commit is contained in:
parent
e8f50a863f
commit
c876d57016
2 changed files with 5 additions and 5 deletions
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
# Run this job in the background.
|
||||
( # Delay the run for 15 hours (from midnight) and then run at a random time within 3 hours after that.
|
||||
sleep $(( 54000 + (RANDOM % 10800) ))
|
||||
|
||||
# Delay the run for 15 hours (from midnight) and then run at a random time within 3 hours after that.
|
||||
sleep $(( 54000 + (RANDOM % 10800) ))
|
||||
|
||||
/opt/sbin/dehydrated -c >/dev/null
|
||||
/opt/sbin/dehydrated -c >/dev/null ) &
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue