cron with variable time

From: A. S. Budden (newsreader.mail_at_NOSPAM.southparade.vispa.com)
Date: 08/28/03


Date: Thu, 28 Aug 2003 08:35:03 GMT

Hi all,

I have an entry in my crontab that looks something like this:

30 10 * * * /home/al/bin/run_daily > /dev/null 2>/dev/null

However, I'd like to make this work _slightly_ differently. At the
moment, it seems to run at 10:30, assuming the computer is switched on
at that time. If the computer is not switched on at that time, it
doesn't run.

What I'd like is for this to run every day at 10:30 if the computer is
switched on, or at some point later *in that day* if the computer isn't
switched on -- only once a day.

Is there any way to achieve this?

Al