On Tue, Oct 20, 2009 at 09:55:53AM +0100, Brett Parker wrote:
On 20 Oct 09:25, Chris G wrote:
On Tue, Oct 20, 2009 at 08:54:57AM +0100, Keith Edmunds wrote:
On Mon, 19 Oct 2009 22:52:40 +0100, ALUGlist@digimatic.co.uk said:
Sorry Chris I don't have an answer, I just think this one might be wrong :)
Why not try it?
Yes, I will, and will come back with the result.
Given this line in the manpage for crontab (man 5 crontab): Ranges can include "steps", so "1-9/2" is the same as "1,3,5,7,9".
I'd suggest that it (a) works, and (b) is the correct way without having to specify all the runtimes.
Yes, it does work, I now have:-
3-59/10 * * * * news blahblah
and it's running at 03, 13, etc.
I searched and searched for that bit in the man page as I was pretty sure I'd seen it before but for some reason I couldn't find it when I looked for it the second time. It's down in the EXTENSIONS bit at the end which, for some reason, I missed second time around.
(I had it working then re-installed the leafnode package and lost my original entry in /etc/cron.d. Then, as I said, I couldn't find the bit I had seen before in man 5 crontab!)
Thanks all.