View previous topic :: View next topic |
Author |
Message |
CrEsPo Tux's lil' helper
Joined: 15 Mar 2005 Posts: 130 Location: Canada
|
Posted: Sat Aug 19, 2006 7:00 pm Post subject: How do you know if Cron is working? [SOLVED] |
|
|
I've setup some scripts in /etc/cron.daily, /etc/cron.weekly, etc. How do I know if these scripts are being run daily/weekly/etc? Is there any logs created by cron to see what's being run? I'm new to using cron, so I'm not sure if I have everything being run properly.
Last edited by CrEsPo on Sat Aug 19, 2006 8:54 pm; edited 1 time in total |
|
Back to top |
|
|
vadik56 n00b
Joined: 14 Feb 2006 Posts: 70
|
Posted: Sat Aug 19, 2006 7:06 pm Post subject: |
|
|
try checking /var/log/everything/current |
|
Back to top |
|
|
toralf Developer
Joined: 01 Feb 2004 Posts: 3922 Location: Hamburg
|
Posted: Sat Aug 19, 2006 7:13 pm Post subject: |
|
|
Code: | grep cron /var/log/messages |
|
|
Back to top |
|
|
CrEsPo Tux's lil' helper
Joined: 15 Mar 2005 Posts: 130 Location: Canada
|
Posted: Sat Aug 19, 2006 8:53 pm Post subject: |
|
|
Thanks for the suggestions, using 'grep' on the 'messages' log worked. I also found out I didn't have the system logger configured correctly. Now that I got it configured I got a 'cron.log' in the log folder that displays everything that using the 'grep' on the 'messages' log did, so everything's fine now.
Thanks a lot for the help . |
|
Back to top |
|
|
|