Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How do you know if Cron is working? [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
CrEsPo
Tux's lil' helper
Tux's lil' helper


Joined: 15 Mar 2005
Posts: 130
Location: Canada

PostPosted: Sat Aug 19, 2006 7:00 pm    Post subject: How do you know if Cron is working? [SOLVED] Reply with quote

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
View user's profile Send private message
vadik56
n00b
n00b


Joined: 14 Feb 2006
Posts: 70

PostPosted: Sat Aug 19, 2006 7:06 pm    Post subject: Reply with quote

try checking /var/log/everything/current
Back to top
View user's profile Send private message
toralf
Developer
Developer


Joined: 01 Feb 2004
Posts: 3922
Location: Hamburg

PostPosted: Sat Aug 19, 2006 7:13 pm    Post subject: Reply with quote

Code:
grep cron /var/log/messages
Back to top
View user's profile Send private message
CrEsPo
Tux's lil' helper
Tux's lil' helper


Joined: 15 Mar 2005
Posts: 130
Location: Canada

PostPosted: Sat Aug 19, 2006 8:53 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum