Take the tour ×  I want to know whether there is any easier way
to run a job every 25 minutes. In cronjob, if you specify the
minute parameter as */25, it'll run only on 25th and 50th minute
of every hour  share|improve this question add comment  migrated
from stackoverflow.com Jul 20 '11 at 16:10  This question came
from our site for professional and enthusiast programmers.  6
Answers  up vote 10 down vote accepted  The command in crontab
is executed with /bin/sh so you can use arithmetic expansion to
calculate whether the current minute modulo 25 is zero.  */5 * *
* * [ $(( $(date +%s) / 60 % 25 )) -eq 0 ] && your_command  cron
will run the whole command every 5 minutes, but only if the
current minute (in minutes since the epoch) modulo 25 is zero
will it run your_command.  As others have pointed out, 1 day is
not evenly divisible by 25 minutes, so this will not cause
your_command to run at the same time every day, but it will run
every 25 minutes.  share|improve this answer simply genial... – 
Tomas Aug 10