[Courses] [Linux commands]: /etc/crontab, crontab

Carla Schroder carla at bratgrrl.com
Mon Feb 9 18:05:15 EST 2004


On Monday 09 February 2004 11:50 am, David Sumbler wrote
> 
> On Mon, 9 Feb 2004, Carla Schroder wrote:
> 
> > #shutdown at 1:05am Saturdays and Sundays
> > 01 05   * * 7,0   root /sbin/shutdown -h +5
> >
> > Sometimes Sunday is 7, you'll have to try it to see what works:
> >
> > 01 05   * * 6,7   root /sbin/shutdown -h +5
> 
> Presumably these should begin '05 01' and not '01 05'.

Yes indeed.
> 
> Should the dow numbers in the first of these read '6,0', or have I
> misunderstood something?

Right again, thanks.
> 
> > It would be nice to use 'sat,sun', but you can't list names.
> 
> Are you saying that you can list a single name (e.g. 'sat') but not
> more than one?

That's correct.
-- 
~~~~~~~~~~~~~~~~~~~~~~~~~
Carla Schroder
www.tuxcomputing.com
this message brought to you
by Libranet 2.8 and Kmail
~~~~~~~~~~~~~~~~~~~~~~~~~



More information about the Courses mailing list