Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jan 1998 21:35:41 -0800 (PST)
From:      Doug White <dwhite@gdi.uoregon.edu>
To:        Francis Vidal <francis@cody.usls.edu>
Cc:        FreeBSD Questions <FreeBSD-Questions@freebsd.org>
Subject:   Re: crontab question
Message-ID:  <Pine.BSF.3.96.980112213514.22079H-100000@gdi.uoregon.edu>
In-Reply-To: <Pine.BSF.3.96.980109113941.459A-100000@cody.usls.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 9 Jan 1998, Francis Vidal wrote:

> hello everyone!
> 
> just wondering how i can tell crontab to execute something every N hours.
> is it this one:
> 
> 	* */2 * * * root /usr/bin/hello
> 
> 	or
> 
> 	* 2,4,6,8,10,12... * * * root /usr/bin/hello

Assuming the bottom ones ticks off every other hour, they are equivalent.
I suggest the top one to prevent errors.

Doug White                              | University of Oregon  
Internet:  dwhite@resnet.uoregon.edu    | Residence Networking Assistant
http://gladstone.uoregon.edu/~dwhite    | Computer Science Major





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980112213514.22079H-100000>