Fix local settings for cron jobs