Fixed security setup for cron jobs.