[SATLUG] cron help?

Richard Suberg rsuberg at satx.rr.com
Tue Sep 28 22:07:36 CDT 2010

Funny thing is, I have _yet_ to see any kind of log for cron.  I gotta be
doing something wrong.... I see logs for other things in there, dmesg, etc..
but nothing for cron in /var/log/ but I do see cups there and one other c
but no cron...


-----Original Message-----
From: satlug-bounces at satlug.org [mailto:satlug-bounces at satlug.org] On Behalf
Of Bruce Dubbs
Sent: Tuesday, September 28, 2010 12:13 AM
To: The San Antonio Linux User's Group Mailing List
Subject: Re: [SATLUG] cron help?

Richard Suberg 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
> 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
> now, since the script is set to run so late have to wait for the morning
> check on effects...

When I was teaching at SAC, I had students write a script like:

/usr/bin/logger -p local3.info "Test message"

and then add an entry to the crontab like:

* * * * *              /path/to/logit

Then check the logs.  There should be a test message every minute.  Once 
that's done, then adjust the crontab and the script to do what you want.

   -- Bruce
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