Stephen Gran on 31 Aug 2006 18:14:17 -0000


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

Re: [PLUG] Debian cron question - root and the system wide file


On Thu, Aug 31, 2006 at 10:56:18AM -0700, Marc Zucchelli said:
> I just found these 2 lines in my syslog file:
> 
> Aug 31 13:17:01 oak /USR/SBIN/CRON[28178]: (root) CMD
> (   run-parts --report /etc/cron.hourly)
> Aug 31 13:17:01 oak /USR/SBIN/CRON[28182]: (root) CMD
> (root    run-parts --report /etc/cron.hourly)
> 
> I'm assuming the first line is from /etc/crontab, and
> the second line is from roots crontab which has a
> username because it has "root" at the beginning of the
> command.  Seems like it is running a "root" command
> and probably failing because there isnt one.  I dont
> know where to look for error messages though.  It
> looks like it will be safe to remove these lines from
> roots cron?

Ordinarily cron will mail the user the output of their job.  So I would
look wherever root's email goes to find out what's been happening.  But
yes, it should be safe to remove all that from root's crontab.
-- 
 --------------------------------------------------------------------------
|  Stephen Gran                  | Losing your drivers' license is just    |
|  steve@lobefin.net             | God's way of saying "BOOGA, BOOGA!"     |
|  http://www.lobefin.net/~steve |                                         |
 --------------------------------------------------------------------------

Attachment: signature.asc
Description: Digital signature

___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug