linux - Running a cron job every 2:30 on every day? -



linux - Running a cron job every 2:30 on every day? -

if creating cronjob running every 2:30 command run? (it mean, cron running after 90 minutes every hours.)

the command like: 30 */2 * * * /command/xxx => that's right?

please help?

your cron look 30 */2 * * * run command every 2 hours @ 30 mins past hr i.e.00:30, 02:30, 04:30, 06:30 , on.

if want run command @ intervals of 2 , half hours i.e. 00:00, 02:30, 05:00, 07:30 , on, need set 2 crons:

0 0-20/5 * * * runs @ 0 mins past hour, every 5 hours between 00:00 , 20:00 inclusive i.e. 00:00, 05:00, 10:00, 15:00 , 20:00

30 2-22/5 * * * runs @ 30 mins past hour, every 5 hours between 02:00 , 22:00 inclusive i.e. 02:30, 07:30, 12:30, 17:30 , 22:30

on other hand, if want run command 1 time every day @ 02:30 utilize 30 2 * * *.

linux cron command crontab hour

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -