1. Execute a cron job
every 5 Minutes
The
first field is for Minutes. If you specify * in this field, it runs every
minutes. If you specify */5 in the 1st field, it runs every 5 minutes as shown
below.
*/5 * * * * /home/test/test.sh
In
the same way, use */10 for every 10 minutes, */15 for every 15 minutes, */30
for every 30 minutes, etc.
2. Execute a cron job
every 5 Hours
The
second field is for hours. If you specify * in this field, it runs every hour.
If you specify */5 in the 2nd field, it runs every 5 hours as shown below.
0 */5 * * * /home/test/test.sh
In
the same way, use */2 for every 2 hours, */3 for every 3 hours, */4 for every 4
hours, etc.