[SATLUG] cron help?

Paul Halmos paul at paulhalmos.com
Mon Sep 27 23:44:06 CDT 2010


You may need to 'touch /var/log/cron' 

On Sep 27, 2010, at 11:38 PM, "Richard Suberg" <rsuberg at satx.rr.com> wrote:

> Ok, since I put the entry in syslog.conf with a path and hyphen nothing
> showed up. Re-edited and put in a hyphen (not sure the difference, and the
> help file confused me on it) I will see what happens next...but I did notice
> when I checked the /etc/crontab file that it was listed to run the wrong
> script (I wrote a newer/updated one) and tried also running the script in
> crontab with the username of the owner of the home folder.  See what happens
> now, since the script is set to run so late have to wait for the morning to
> check on effects...
> 
> Richard
> 
> -----Original Message-----
> From: satlug-bounces at satlug.org [mailto:satlug-bounces at satlug.org] On Behalf
> Of Richard Suberg
> Sent: Saturday, September 25, 2010 12:55 PM
> To: 'The San Antonio Linux User's Group Mailing List'
> Subject: RE: [SATLUG] cron help?
> 
> The script is located in a users home folder. I had made changes to syslog
> but have not been able to look at the logs as of yet. For some unknown
> reason my firewall is not letting me ssh into that box from the internet
> right now. I will post as soon as I find out the logs are there.
> 
> Richard
> 
> -----Original Message-----
> From: satlug-bounces at satlug.org [mailto:satlug-bounces at satlug.org] On Behalf
> Of Thomas Weeks
> Sent: Saturday, September 25, 2010 2:39 AM
> To: satlug at satlug.org
> Subject: Re: [SATLUG] cron help?
> 
> On Wednesday 22 September 2010 09:36:35 Paul Halmos wrote:
>> 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
> 
> Actually Paul.. if the cron script is in /etc/cron.d/ you need to make sure 
> that it is NOT executable. I think that changes in vixicron v3 or something.
> 
> I remember bc RH broke millions of servers around the world in one night. ;)
> 
> Richard... Where's your script located? Are you running selinux? what do
> your 
> logs say?
> 
> Tweeks
> 
> 
>> 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