setup cron job run every 30 seconds code example Example: cron job every 10 minutes */10 * * * * will run every 10 min.