Date: Mon, 02 Jan 2006 09:51:01 -0800 From: Drew Tomlinson <drew@mykitchentable.net> To: Jim Pazarena <fquest@ccstores.com> Cc: freebsd-questions@freebsd.org Subject: Re: specifying a day for at command Message-ID: <43B96805.2020509@mykitchentable.net> In-Reply-To: <43B960E3.9050408@ccstores.com> References: <43B960E3.9050408@ccstores.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 1/2/2006 9:20 AM Jim Pazarena said the following: > 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? Just a guess. What about 'at 00:05 + 6 days'? I assume some sort of "rounding to the next full day" is making it schedule for Monday. HTH, Drew
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43B96805.2020509>