[TriLUG] crontab question

Carolinux.com bobevans19 at gmail.com
Wed Sep 8 06:00:01 EDT 2004


On Wed, 8 Sep 2004 02:34:25 -0400, Michael Hrivnak
<mhrivnak at triad.rr.com> wrote:
> What does it mean for the minute parameter in a crontab entry to begin with a
> "-" ?
> 
> for example, Kcron created this...
> 
> -10 2,14        /path/to/some/script
> 
<I think>
I think it means minutes before the hour. 
10 2,14     would run at 2:10 (AM)  and 2:10 (PM)

-10 2,14    would run at 1:50 (AM) and 1:50 (PM)

</I think>


> The script in question calls rsync.  I've been having a problem recently that
> a large number of instances of rsync get started on this client, along with
> an equivalent number of instances of rsync and sshd on the server side,
> resulting in a DoS.  When I run the script on its own though, it runs fine.
> 
> Any clues?

It's REAL easy to hose up crontab...

* 10 2,14

would run EVERY MINUTE from 10:01 - 10:59 on the 2nd and 14th day of the month.

Dump the logs...



-- 
Bob Evans        bobevans19 at gmail.com (read/delete weakly...)              
alt email           reevans at bbandt.com     (read/delete daily M-F) 
704 562-7166 mobile     
704 954-3415 office            
704-882-6214 home...last resort, please
http://www.carolinux.com   Bringing Linux to the Carolinas...
IRC://freenode/charlug 

There are 10 kinds of people in the world: those who understand
binary, and those who don't.



More information about the TriLUG mailing list