Add cron job
test cases