extract cron to separate module