LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] cron: error: bad hour

[ILUG] cron: error: bad hour

Chris Boyd chris.boyd at usit.ie
Tue Aug 14 09:51:04 IST 2007


Debian Etch 4.0. I was trying to get a script to run from crontab. I've
edited it several times and now cron doesn't seem to be running. I'm getting
the following from syslog:
 
Aug 13 17:22:53 usit-mail /usr/sbin/cron[15089]: (CRON) INFO (pidfile fd =
3)
Aug 13 17:22:53 usit-mail /usr/sbin/cron[15090]: (CRON) STARTUP (fork ok)
Aug 13 17:22:53 usit-mail cron[15090]: Error: bad hour; while reading
/etc/crontab
Aug 13 17:22:53 usit-mail /usr/sbin/cron[15090]: (CRON) INFO (Skipping
@reboot jobs -- not system startup)

This is my crontab...I can't see what is wrong with the syntax. Something
must be broken. 
 
SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
 
# m h dom mon dow user  command
17 *    * * *   root    cd / && run-parts --report /etc/cron.hourly
25 6    * * *   root    test -x /usr/sbin/anacron || ( cd / && run-parts
--report /etc/cron.daily )
47 6    * * 7   root    test -x /usr/sbin/anacron || ( cd / && run-parts
--report /etc/cron.weekly )
52 6    1 * *   root    test -x /usr/sbin/anacron || ( cd / && run-parts
--report /etc/cron.monthly )
#50 13  * * *   root    /usr/usitscripts/dailybackup >/dev/null 2>&1
#05 16  * * *   root    /usr/usitscripts/weeklybackup.sh >/dev/null 2>&1

 

-----------------------------------------------------------------

This email message is intended only for the addressee(s) 

and contains information that may be confidential and/or 

copyrighted.  If you are not the intended recipient please 

notify the sender by reply email and immediately delete 

this email. Use, disclosure or reproduction of this email 

by anyone other than the intended recipient(s) is strictly 

prohibited. USIT has scanned this email for viruses and 

dangerous content and believes it to be clean. However, 

virus scanning is ultimately the responsibility of the recipient.

-----------------------------------------------------------------

USIT Ireland Ltd. Company No. 377526. Registered Office 19/21 Aston Quay Dublin 2.



More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell