replace cron with scheduler for background processes