Added cron job. Needs test.