prepare cron and settings