[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: bad minute?



On Sun, Apr 15, 2001 at 06:03:00PM -0500, Stephen E. Hargrove wrote:
> When I edit my crontab (crontab -e) and try to save my changes, I get the
> following messages:
> 
> "crontab.16288" 54L, 1391C written
> crontab: installing new crontab
> "/tmp/crontab.16288":1: bad minute
> errors in crontab file, can't install.
> Do you want to retry the same edit?
> 
> I realize that it's telling me I have a bad minute somewhere, but I can't
> determined which line it's complaining of.  Following is the crontab in
> question.
> 
> 
> SHELL=/bin/sh
> MAILTO=
> #
> # update weblogs hourly
> 0 * * * * /usr/bin/webalizer -n www.exitwound.org -o/www/htdocs/webusage
> /www/logs/access_log
> #
> # every 15 minutes, run logcheck
> 00,15,30,45 * * * * /usr/local/etc/logcheck.sh
  ^^
Does it dislike octal numbers?

> #
> # every 30 minutes, update tzo with ip addy
> 0,30 * * * * /usr/bin/tzo.pl -o
> #
> # run fetchnews-daily once per day
> 0 8 * * * /usr/bin/fetchnews-daily.sh
> #
> # every 30 minutes, pull news feeds
> 0,30 * * * * /usr/bin/fetchnews-hourly.sh
> 1,31 * * * * rm -rf /www/htdocs/fetched/O*
> 1,31 * * * * /usr/bin/debian.security.pl
> 1,31 * * * * /usr/bin/process.rss.pl
> 2,32 * * * * /usr/bin/hanchors.pl
> 3,33 * * * * /usr/bin/buildul.pl
> 5,35 * * * * rm -rf /www/htdocs/fetched/*
> #
> # every 12am, chown and chgrp on /music
> 0 0 * * * chown -R Stephen /music
> 0 0 * * * chgrp -R ftp /music
> #
> # shut down nfs every night, because i'm too stupid to remember to do it
> 0 0 * * * /etc/rc.d/init.d/portmap stop
> 0 0 * * * /etc/rc.d/init.d/nfs stop
> #
> # correct permissions to /music/office
> 1 0 * * * chown -R office /music/office
> 1 0 * * * chgrp -R office /music/office
> #
> # every 3:15am, move /music/recording to /music/mp3
> 15 3 * * * /usr/bin/move2mp3.pl
> #
> # start up nfs every evening
> 0 18 * * * /etc/rc.d/init.d/portmap start
> 0 18 * * * /etc/rc.d/init.d/nfs start
> 
> 
> Any insight would be appreciated.  Thanks!
> -- 
> steve
> *****
> Linux : http://exitwound.org
> Mozart: http://mozart.sourceforge.net
> Buck  : http://www.BuckOwensFan.com
> *****
> 
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 



Reply to: