Code to test a cron expression