Raised This Month: $51 Target: $400
 12% 

Windows server + task scheduler + service


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Infamanious
Senior Member
Join Date: Dec 2005
Old 05-25-2022 , 04:42   Windows server + task scheduler + service
Reply With Quote #1

I set a schedule tasks under administrator in windows server. So i have the service running at start because after rebooting HLDS shows in the task manager. However my problem is with the parameters. I set the arguments exactly the same way i have in my .bat file or as i would with using the hlds shortcut method to start the server in console mode. The program starts but no parameters are executed even though i've set the proper fields in Task schedule.

set to run under administrator
runs fine via .bat file
same problem wether logged onto administrator account or user account
havent tried firedaemon
arguements: -console -game cstrike +hostname "test" +map de_dust2 +maxplayers 32 -autoupdate -exec server.cfg +motdfile motd.txt +logsdir logs

Last edited by Infamanious; 05-25-2022 at 04:45.
Infamanious is offline
arC`
Member
Join Date: May 2005
Old 06-10-2022 , 16:18   Re: Windows server + task scheduler + service
Reply With Quote #2

I use HLSM to manage this, maybe it'll work for you too

https://forums.alliedmods.net/showthread.php?t=147880
__________________
(𝝺)

Last edited by arC`; 06-10-2022 at 16:18.
arC` is offline
Send a message via AIM to arC`
Infamanious
Senior Member
Join Date: Dec 2005
Old 06-12-2022 , 00:39   Re: Windows server + task scheduler + service
Reply With Quote #3

Quote:
Originally Posted by arC` View Post
I use HLSM to manage this, maybe it'll work for you too

https://forums.alliedmods.net/showthread.php?t=147880
sweet, thanks. Definitely beats task scheduler and daemon tools.
Infamanious is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 15:50.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode