"Every 15 minutes" can also be done as */15 * * * *
But there's a catch to the above - it doesn't actually mean "every 15 minutes", but it means "Each minute that can be divided by 15, but including 0". In other words, it expands to 0,15,30,45 * * * *.
It also means that */25 * * * * expands into 0,25,50 * * * *. You'll notice that this would mean that the cron job will get executed at, for example, 10:00, 10:25, 10:50, 11:00, 11:25... instead of every 25 minutes as you'd expect. (There are only 10 minutes between 10:50 and 11:00.)
This comment has been brought to you by Painful Experience, Inc.
no subject
*/15 * * * *
But there's a catch to the above - it doesn't actually mean "every 15 minutes", but it means "Each minute that can be divided by 15, but including 0". In other words, it expands to
0,15,30,45 * * * *
.It also means that
*/25 * * * *
expands into0,25,50 * * * *
. You'll notice that this would mean that the cron job will get executed at, for example, 10:00, 10:25, 10:50, 11:00, 11:25... instead of every 25 minutes as you'd expect. (There are only 10 minutes between 10:50 and 11:00.)This comment has been brought to you by Painful Experience, Inc.