Fixed stupid bug in cron.c