On 29-May-2000 jack wallen jr opined:
> 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
> 
> ??????
> 
> if not does anyone have any suggestions.

There needs to be a little bit more explanation here in order for me to
answer (others may be able to ascertain with what's given but, I can't):

1. The command is obviously the same for each user. Does the result or some
input variable differ depending on the user? Or is there only one user that
will be needing this?

2. Is this something that will only run when users are logged in or will it
be running even when they aren't?

3. 'crontab -e' is for editting, not for turning it on. While the crontab
needs to be editted to create it, I don't think you want to edit it every
time. And depending on who is doing the editting, this will either give a
permissions error (system), or will result in a crontab that never gets run
(individual).

4. Is USERNAME supposed to be a variable for substitution so it picks up
each user, or is it a substitution ONLY for this example and a single user
will be using it? In either case, unless it's the system crontab it will
result in an error. If it is the system crontab, it would better serve the
user(s) to have an individual crontab that can be inserted and removed at
will or using some login/logout scripts.

5. Not clear on what the */2 and */1.5 are supposed to represent.

Just some of the questions. There're likely more that will later need to be
asked/answered.

-- 
Statistics means never having to say you're certain.


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to