Date: 2010-01-02 12:35 am (UTC)
sophie: A cartoon-like representation of a girl standing on a hill, with brown hair, blue eyes, a flowery top, and blue skirt. ☀ (Default)
From: [personal profile] sophie
"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.
This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

Profile

command_liners: A command line prompt with a blinking cursor after it, green against black. (Default)
Command Liners

January 2022

S M T W T F S
      1
2 345678
9101112131415
16171819202122
23242526272829
3031     

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Sep. 16th, 2025 03:38 pm
Powered by Dreamwidth Studios