Updated cron plugin