Fixed a problem which broke cron jobs