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