Add cron job. See #1257.