crontab does not work anymore

Jason Straight jason at jeetkunedomaster.net
Mon Nov 20 23:11:43 UTC 2006


Your /etc/crontab looks normal, what e-mail are you not getting now?



On Monday 20 November 2006 15:13, claudiu wrote:
> Here is my crontab:
>
> # /etc/crontab: system-wide crontab
> # Unlike any other crontab you don't have to run the `crontab'
> # command to install the new version when you edit this file.
> # This file also has a username field, that none of the other crontabs do.
>
> 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   run-parts --report /etc/cron.hourly
> 25 6    * * *   root   test -x /usr/sbin/anacron ||
> run-parts --report /etc/cron.daily
> 47 6    * * 7   root   test -x /usr/sbin/anacron ||
> run-parts --report /etc/cron.weekly
> 52 6    1 * *   root   test -x /usr/sbin/anacron ||
> run-parts --report /etc/cron.monthly
> #
>
> În data de Lun 20 Noi 2006 21:55, Jason Straight a scris:
> > What are the contents of /etc/crontab now?
> >
> > On Monday 20 November 2006 14:10, claudiu wrote:
> > > I have a big problem with crontab in ubuntu dapper.
> > > Recently I accidentally did:
> > >
> > > 	$ sudo crontab /etc/crontab
> > >
> > > and I started receiving this by email, instead of the usual reports:
> > >
> > > 	/bin/sh: root: command not found
> > >
> > > I noticed that /etc/crontab MAY have user name in it, not like
> > > ".crontab" files. Anyway, I erased root's crontab by doing:
> > >
> > > 	sudo crontab -r
> > >
> > > And now I don't receive any emails at all.
> > > I need to know how to fix this ASAP!!!!
> > > Thank you!
> >
> > --
> >
> > | "The most important gun saftey tip to remember is:
> > | if you have a gun - you'll be safe!"
> > |
> > | Jason Straight
> > | SkyCon.net 231-627-3528
> > | Jabber: leejunfan at jabber.org
> > | Yahoo: jasonrstraight
> > | ICQ: 1796276
> > | MSN: glock21-45cal at hotmail.com

-- 
| "The most important gun saftey tip to remember is:
| if you have a gun - you'll be safe!"
|
| Jason Straight
| SkyCon.net 231-627-3528
| Jabber: leejunfan at jabber.org
| Yahoo: jasonrstraight
| ICQ: 1796276 
| MSN: glock21-45cal at hotmail.com




More information about the kubuntu-users mailing list