[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] Using variables in clientlaunch.cfg?
On Fri, Jul 28, 2006 at 04:02:45PM -0700, Charles Jones wrote:
> Another option would be, if clientlaunch could handle variables:
> ------------------------------------------------------------------------------
> [tomcat_threads]
> ENVFILE /home/hobbit/client/etc/hobbitclient.cfg
> CMD /home/hobbit/client/ext/$HOSTNAME_tct.sh
> INTERVAL 5m
> ------------------------------------------------------------------------------
It can. Any environment variable, or setting from the hobbitclient.cfg
file, can be used in the settings in clientlaunch.cfg.
> I imagine this method though would generate errors when hobbit tries to
> execute the script on the hosts where it does not exist?
It would, but after 5 attempts it would automatically disable the task.
Henrik