run a cron job every minute code example
Example 1: cron job every 10 minutes
*/10 * * * * will run every 10 min.
Example 2: cron job every 10 seconds
*/10 * * * * * will run every 10 sec.
*/10 * * * * will run every 10 min.
*/10 * * * * * will run every 10 sec.