Make cron worker work with config properly