On Mon, May 29, 2000 at 10:50:18AM -0400, jack wallen jr wrote:
> with Red Hat 6.3 i want to be able to use cron (in conjunction with my X10
> remotes) to turn something on every minute and off every other minute. with crontab
>-e (as
> user) would the following entries work:
>
> */2 * * * * USERNAME /usr/local/bin/br -n 3
> */1.5 * * * * USERNAME /usr/local/bin/br -f 3
The man page for crontab(5) says:
Ranges can include "steps", so "1-9/2" is the same as
"1,3,5,7,9".
so I'm going to GUESS that perhaps you could make 2 entries like this
to do what you want (note I haven't tried this):
1-59/2 * * * * USERNAME /usr/local/bin/br -n 3
0-58/2 * * * * USERNAME /usr/local/bin/br -f 3
If that doesn't do it, then all I can think of is two lists, like this:
1,3,5,7,9,11,13,15,17,19,<etc> * * * * USERNAME /usr/local/bin/br -n 3
0,2,4,6,8,10,12,14,16,18,<etc) * * * * USERNAME /usr/local/bin/br -f 3
Good luck!
Fred
--
---- Fred Smith -- [EMAIL PROTECTED] ----------------------------
The Lord detests the way of the wicked
but he loves those who pursue righteousness.
----------------------------- Proverbs 15:9 (niv) -----------------------------
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.