[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: little crontab question?
hi martin,
On Mon, Jul 02, 2001 at 12:52:47AM -0230, Martin Marconcini wrote:
> Hello list:
>
> I'd like to run every 4 hours a script, not as root but under user
> whatever.
>
> As root I did:
>
> crontab -u whatever -e (to edit crontab). vi popped up and I entered the
> following lines...
>
> #minute hour mday month wday command
> #
> 0 4 * * * /home/whatever/build/build_test
i think you want something like this:
0 0,4,8,12,16,20 * * * /home/whatever/build/build_test
that is: execute at midnight, 4am, 8am, 12 noon, 4pm, 8pm...
is this what you want?
[...]
> Martin Marconcini
chris
--
Christopher Linn, <celinn@mtu.edu> | By no means shall either the CEC
Staff System Administrator | or MTU be held in any way liable
Center for Experimental Computation | for any opinions or conjecture I
Michigan Technological University | hold to or imply to hold herein.