[SATLUG] cron help?

Paul Halmos paul at paulhalmos.com
Thu Sep 23 19:23:43 CDT 2010


You need to add an entry in syslog to log cron.  Edit you syslog.conf and add the following
cron.* -/var/log/cron
Then restart syslog.  That should take care of logging.

On Sep 23, 2010, at 4:05 PM, Richard Suberg wrote:

> Trying to look at the /var/log shows no folder for cron...see folders for
> apache2, all kinds of other stuff, but not cron. I have a feeling cron is
> working because in the mail once in a while that comes from apache
> (logrotate failed or something similar....irrevelant. comes in email and
> apache is not relevant to this system)
> 
> Could I not have logging set to a high enough level for cron to create a
> log?  I'm using this as kind of a low end system, keep throwing new tasks at
> it and it keeps taking them on without a problem! (better than the other
> brand of server)
> 
> Richard
> 
> -----Original Message-----
> From: satlug-bounces at satlug.org [mailto:satlug-bounces at satlug.org] On Behalf
> Of Paul Halmos
> Sent: Wednesday, September 22, 2010 9:37 AM
> To: The San Antonio Linux User's Group Mailing List
> Subject: Re: [SATLUG] cron help?
> 
> Check /var/log/cron for errors and make sure your script is executable and
> has the correct permissions/ownership. That is where I would start. Good
> luck
> 
> On Sep 22, 2010, at 7:30 AM, "Richard Suberg" <rsuberg at satx.rr.com> wrote:
> 
>> Anyone have suggestions on how to find out/where to look at why a cron job
>> doesn't run when it used to?  I have a script that updates some files, but
>> after editing (putting in some sanity checking) it appears it no longer
> runs
>> on time. Manual running the script runs fine except it doesn't email me
> when
>> done, but it takes long enough that another script that checks wether cp
> is
>> still running and also checking a file it creates to email me also gives
> me
>> results of the update.
>> 
>> I'm not that familiar with figuring out why this isn't working.
>> Richard
>> 
>> -- 
>> _______________________________________________
>> SATLUG mailing list
>> SATLUG at satlug.org
>> http://alamo.satlug.org/mailman/listinfo/satlug to manage/unsubscribe
>> Powered by Rackspace (www.rackspace.com)
> -- 
> _______________________________________________
> SATLUG mailing list
> SATLUG at satlug.org
> http://alamo.satlug.org/mailman/listinfo/satlug to manage/unsubscribe
> Powered by Rackspace (www.rackspace.com)
> 
> -- 
> _______________________________________________
> SATLUG mailing list
> SATLUG at satlug.org
> http://alamo.satlug.org/mailman/listinfo/satlug to manage/unsubscribe
> Powered by Rackspace (www.rackspace.com)



More information about the SATLUG mailing list