system-configs/opt/sbin/cronjob-dehydrated

6 lines
189 B
Bash
Executable file

#!/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