move timers from main function to start_cron