Adding dogapi support to the cron job.