[Courses] [Linux commands]: /etc/crontab, crontab- name lists

Carla Schroder carla at bratgrrl.com
Tue Feb 10 11:45:58 EST 2004


On Tuesday 10 February 2004 9:51 am, Andrea Landaker wrote:
> > It would be nice to use 'sat,sun', but you can't list names.
> > Day-of-the-week and months can use names, use the first three letters: 
sat,
> > sun, jan, feb. Case does not matter.
> 
> That's funny, because I have:
> 
> */20 8-21 * * Mon,Tue,Wed,Thu,Fri /home/qirien/html/uploadimage
> */20 11-21 * * Sat,Sun /home/qirien/html/uploadimage
> 
> in my crontab for my webcam and it works fine . . . is this a 
version-specific 
> thing?  Or is the man page out of date?  Or is this a bug that just happens 
> to work?

Well now that's a good question. man 5 crontab on my Libranet Debian system 
says
"Names can also be used for the ``month'' and ``day of week''  fields.   Use  
the  first three letters of the particular day or month (case doesn't 
matter).  Ranges or lists of names are not allowed."

I guess the bottom line is if it works, it works!

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



More information about the Courses mailing list