Need run a shell script once a day at random time. (so once every day between 00:00-23:59).
I know the sleep
command, and the cron
too, but
- the
cron
has not random times - and the
sleep
solution - not very nice - my idea is launch the script every midnight and sleep random time at the start of the script.
Is here something more elegant?