Logging cron jobs on ubuntu
-Wednesday, April 01, 2009 By: Jon Kinney
I am running a VPS over at SilverRack.com and I love it. Dave (the owner) has been very helpful and responsive anytime I’ve had questions or issues, and I highly recommend their service. Also if you’re a member of a local ruby user’s group then you can get $10 off the standard 256mb slice making it extremely affordable to have your very own server! I also have an unlimited Dreamhost account, but I like having root access and full reign of my server.
Enable the cron.log in Ubuntu
By default, Ubuntu disables the cron log, so you need to turn it on, and additionally create the log file before you can start tailing that log.
Use these steps to get your log on…
- Pico /var/log/cron.log and save out the blank file
- Edit /etc/syslog.conf and uncomment the line starting with cron.*
- Run /etc/init.d/sysklogd restart
- Run /etc/init.d/cron restart
Then to watch your cron jobs rock your server execute this command…
- tail -f /var/log/cron.log
News & Events
Tech Review: Web Design For Developers - June 2009
A friend of mine in the web development community is releasing a book called "Web Design for Developers: A Programmer's Guide to Design Tools and Techniques". I was asked to do a tech review of the book and will be sharing my thoughts as well as some cool info presented in the book in a short series of upcoming blog posts. If you want to grab a beta copy of the book head over to my favorite publisher The Pragmatic Programmers.
First Class Audio Production - March 1st 2009
My most recent studio project was mixing and producing the latest a cappella album to come out of Eau Claire, WI. Until Proven Guilty is the Innocent Men's 4th studio album and marks a huge leap forward in recording and production quality for the group. Check back for demos of the mastered songs very soon! http://theinnocentmen.com.
Rate This Post: 0.0 (average)


