Use crontab scheduling instead of timedelta
Fix tests