specifying a day for at command

Jim Pazarena fquest at ccstores.com
Mon Jan 2 09:20:44 PST 2006

I want to run a job every 00:05 sunday morning.
It is a script which run for a few minutes, then
attempts to re-submit itself via at.
at the end of the script, it has:
echo "/usr/local/bin/script" | at 00:05 sunday
this produces an error message:
   at:trying to travel back in time

yes, cron could do it, but I would like to run it
with at. on my old unix OS (SCO) I could enter
  at 00:05 next sunday, which would work.

trying:  at 00:05 + 7 days  (on sunday at approx 00:10)
  gets queued for next Monday.

is there a way to do this?


More information about the freebsd-questions mailing list