refactor cron
misc