# A cron job that runs every 5 minutes. jobs = [ Job( cluster = 'smf1-test', role = 'fcuny', environment = 'test', name = 'cron_hello_world-trashing', cron_schedule = '*/5 * * * *', constraints = { 'host': 'smf1-fki-17-sr1', }, instances=10, task = SimpleTask( 'cron_hello_world', 'echo "Hello world from cron, the time is now $(date --rfc-822)"'), ), ]