Date: Thu, 8 Jan 1998 23:09:40 -0500 From: Norman C Rice <nrice@emu.sourcee.com> To: Francis Vidal <francis@cody.usls.edu> Cc: FreeBSD Questions <FreeBSD-Questions@FreeBSD.ORG> Subject: Re: crontab question Message-ID: <19980108230940.16627@emu.sourcee.com> In-Reply-To: <Pine.BSF.3.96.980109113941.459A-100000@cody.usls.edu>; from Francis Vidal on Fri, Jan 09, 1998 at 11:41:45AM %2B0800 References: <Pine.BSF.3.96.980109113941.459A-100000@cody.usls.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jan 09, 1998 at 11:41:45AM +0800, 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 If `N' is 2, then this will work provided that you running it from /etc/crontab. If you're running it from another user's crontab, remove the `root' field (unless root is the name of a command). > > or > > * 2,4,6,8,10,12... * * * root /usr/bin/hello > > thanks! > > --- > francis vidal | usls.NET | university of st. la salle, bacolod city, PH > PGP key available at ftp://ftp.usls.edu/pub/pgpkeys/francis.pgp > "birds of the same feathers are birds!" - rhoderick samonte's class -- Regards, Norman C. Rice, Jr.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980108230940.16627>