Check When Cron Jobs Last Ran
- 
 Is there a way to check when the last time a cron job ran was? I have some scripts setup hourly and some daily and I just want to see if they are running or not. Pretty sure they are but just curious. Thanks, 
 A.J.
- 
 By default it would be in your syslog. You can add something to the crontab to alert you as well. 
- 
 No Apple, syslog != Stalin. 
- 
 @scottalanmiller said: By default it would be in your syslog. You can add something to the crontab to alert you as well. Where and how would I check this? 
- 
 RHEL / CentOS: grep cron /var/log/messages
- 
 @scottalanmiller said: RHEL / CentOS: grep cron /var/log/messagesYeah, no /var/log/messages in Ubuntu? Any idea of their equivalent? 
- 
 Ubuntu is Debian so it uses /var/log/syslog You should be using this all of the time. This is where all of your system messages are going. 
- 
 I found a thread on the Ubuntu forums here: ubuntuforums.org/showthread.php?t=1845962 It pointed me to a conf file located here: /etc/rsyslog.d/50-default.conf I used vi to uncomment this line: cron.* /var/log/cron.logNow I should get cron logs. I'll check the other place too. Thanks! 
