Added ability to log for cronjobs.

The cronjob still has to be setup manually. I'd like to learn how to
programmatically add or remove cronjobs. Automating this would make it
much easier.