move cron declaration to properties