Fix schedule overwrite for the cron job