sleep if executed by cron only