cron expression every 5 seconds code example Example: cron job every 10 seconds */10 * * * * * will run every 10 sec.