.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   General Forum - ServerLoader (http://forums.bots-united.com/forumdisplay.php?f=40)
-   -   Change Processes According to Day (http://forums.bots-united.com/showthread.php?t=5353)

manofphat 05-06-2006 18:04

Change Processes According to Day
 
Hello,

I am running SRCDS with HLstatsX.
HLstatsX requires a perl capture process which I have monitored with mean server loader (which I've very impressed with btw).

Every Thursday I want the HLstatsX perl process to NOT be monitored and NOT be turned on. How can I accomplish this automatically?

Thank you in advance!

botmeister 10-06-2006 01:04

Re: Change Processes According to Day
 
You can get creative and have the built in windows scheduler turn off the HLstatsX process on Thursday by running a cmd script.

The script would look something like this:
------------------------
@rem set the path to the server loader, eg c:\srvload
set loaderpath=..

%loaderpath%\meanloader -pause HLstatsX
%loaderpath%\meanloader -stop HLstatsX
------------------------

On Friday, the scheduler will have to run a different script to turn it back on.

The other method is to wait until I add in scheduling capabilities that do the same thing as the windows scheduler.

manofphat 10-06-2006 01:56

Re: Change Processes According to Day
 
Thank you very much. I will give this a try!

Quote:

Originally Posted by botmeister
The other method is to wait until I add in scheduling capabilities that do the same thing as the windows scheduler.

When do you estimate this would be available?

botmeister 02-08-2006 17:03

Re: Change Processes According to Day
 
"When do you estimate this would be available?"

I plan on rewriting the entire loader and adding an API to it so that it can be customized with plugins - but I'd better make no promises on a completion time line or even if it'll get done.


All times are GMT +2. The time now is 12:06.

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.