Compare commits
No commits in common. "bb74a4e7bf31f437f79c3f58a2a7e5544f9a7ccf" and "8c2d848935373b491ad8cba3c1c94cd8eb6f7329" have entirely different histories.
bb74a4e7bf
...
8c2d848935
2 changed files with 4 additions and 7 deletions
|
|
@ -1,4 +1,6 @@
|
|||
#!/bin/bash
|
||||
# Start the dehydrated-wrapper as a daemon, so that it doesn't prevent other cron jobs from running.
|
||||
# Run dehydrated after a delay.
|
||||
|
||||
daemon /opt/sbin/dehydrated-wrapper
|
||||
( # 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 ) &
|
||||
|
|
|
|||
|
|
@ -1,5 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
#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
|
||||
Loading…
Add table
Add a link
Reference in a new issue