Archive for May, 2008

How to enable cron log in Ubuntu

Sunday, May 18th, 2008

I have been having some problems debugging some of my cron scripts and when I went looking for the cron log file it didn’t exists. By default, Ubuntu disables the cron log.

The following steps will enable the cron log to allow for better debugging details.

  1. Edit /etc/syslog.conf and uncomment the line starting with cron.*
  2. Run /etc/init.d/sysklogd restart
  3. Run /etc/init.d/cron restart

Source

Fix: Mac OS X Home/End/Page Up/Page Down Keys

Wednesday, May 14th, 2008

I am a recent Mac convert and one annoying thing about Terminal.app is that the Home/End/Page Up/Page Down keys do not function properly. Luckily, I ran into a blog which outlines the fixes for this issue.

Fixing Page Up and Page Down Keys in Leopard’s Terminal.app

Fixing Home and End Keys in Leopard’s Terminal.app