Can we set up a voice for disconnetion?
Hakan Koseoglu
hakan at koseoglu.org
Thu Oct 20 13:00:50 UTC 2011
On 20 October 2011 13:52, Steve Flynn <anothermindbomb at gmail.com> wrote:
> This will drop you into your editor - add the following line:
> 0,5,10,15,20,25,30,35,40,45,50,55 * * * * some/path/alert.sh >/dev/null
Yikes, why do all of that when */5 will do the trick?
man 5 crontab. scroll down,
Step values can be used in conjunction with ranges. Following
a range with ``/<number>'' specifies skips of the number's
value through the range. For example, ``0-23/2'' can be used
in the hours field to specify command execution every other
hour (the alternative in the V7 standard is
``0,2,4,6,8,10,12,14,16,18,20,22''). Steps are also permitted after
an
asterisk, so if you want to say ``every two hours'', just use ``*/2''.
More information about the ubuntu-users
mailing list