improve cron routines