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

[ANY] Server Crontab


Post New Thread Reply   
 
Thread Tools Display Modes
MoggieX
Veteran Member
Join Date: Aug 2007
Location: n00bville
Old 01-30-2008 , 04:13   Re: Server Crontab
Reply With Quote #31

I posted a thread in the scripting forum here http://forums.alliedmods.net/showthread.php?t=66354 it appears by removing the killtimer function above the line which errors out, it works again.

I have attached the files which I know work on SM ver 1858 or newer!!

Matt
__________________
MoggieX is offline
Send a message via Skype™ to MoggieX
BrutalGoerge
AlliedModders Donor
Join Date: Jul 2007
Old 02-01-2008 , 14:24   Re: Server Crontab
Reply With Quote #32

I want to use this to set sv_password on fri-sun
but It doesn't seem to be working.

I tried putting the sv_password in a cfg called pass.cfg

sc_addjob 5 0 ? ? ? ? "exec pass.cfg"

=\
__________________
My Pluggies If you like, consider to me.
BrutalGoerge is offline
CaffeinePowered
Junior Member
Join Date: Dec 2007
Location: Illinois
Old 02-27-2008 , 17:25   Re: Server Crontab
Reply With Quote #33

Im having some problems getting this plugin to load other plugins and execute admin commands. I'm trying to get it to do the following in a TF2 server.

At 11pm server time switch to a different map cycle, the mapcycle file is int he default tf2 directory with the regular default mapcycle.txt

At 10:59 - set the next map to ctf_2fort
At 10:59 - Disable the load Lock
At 11:00 - Load a LateNight plugin that executes a different config on every map load
At 11:01 - Re-enable the load lock

Repeat this process in reverse at 10am the next morning to undo the changes and go back to 'normal' mode. Any help would be appreciated.

Quote:
sc_addjob ? ? 23 10 0 0 "mapcyclefile latenightmaps.txt"
sc_addjob ? ? 22 22 58 59 "sm_nextmap ctf_2fort"
sc_addjob ? ? 22 23 59 1 "sm plugins load_unlock"
sc_addjob ? ? 23 23 0 0 "sm plugins load LateNight"
sc_addjob ? ? 23 23 1 2 "sm plugins load_lock"
sc_addjob ? ? 10 23 0 1 "mapcyclefile mapcycle.txt"
sc_addjob ? ? 10 10 0 1 "sm plugins load_unlock"
sc_addjob ? ? 10 10 1 2 "sm plugins unload LateNight"
sc_addjob ? ? 10 10 2 3 "sm plugins load_lock"
CaffeinePowered is offline
Send a message via AIM to CaffeinePowered
DontWannaName
Veteran Member
Join Date: Jun 2007
Location: VALVe Land, WA
Old 03-12-2008 , 02:27   Re: Server Crontab
Reply With Quote #34

Im having problems with this plugin too. It needs updating to the latest build and its not quite working in TF2. Dubbeh I know you were on the other day, any chance u can update this?
__________________

DontWannaName is offline
ottobohn
Senior Member
Join Date: Sep 2007
Old 05-09-2008 , 05:00   Re: Server Crontab
Reply With Quote #35

Could you allow a cvar or option that will not execute if over a certain amount of people? I only use your plugin for server reboots at 5am and would rather not reboot it if there are people there. Have it like not execute if there are more than 5 players? Know what I mean? This would be very helpful.

Thanks!

Otto
ottobohn is offline
sirmoe
Senior Member
Join Date: Mar 2008
Old 05-15-2008 , 05:17   Re: Server Crontab
Reply With Quote #36

Could you please update this?
sirmoe is offline
vtsoxluvr
Member
Join Date: Apr 2006
Old 05-31-2008 , 21:22   Re: Server Crontab
Reply With Quote #37

is there any way to use quotes in the command that being executed, im trying to change the hostname, and our hostname has spaces in it
vtsoxluvr is offline
arm5ky
Member
Join Date: Dec 2007
Old 06-01-2008 , 04:51   Re: Server Crontab
Reply With Quote #38

put the command to change the hostname in cfg, and then exec cfg with crontab
arm5ky is offline
zerak
Senior Member
Join Date: Feb 2008
Old 06-11-2008 , 19:21   Re: Server Crontab
Reply With Quote #39

request - diffrent kind of times that can be used as example count downs instead of hardcoding every minute remaining (server reboot)

example on how i mean is:
sc_addjob ? ? 4 4 50 59 "sm_hsay Daily server reboot in %(60 - $minute) minutes"

would give:

Daily server reboot in 10 minutes
Daily server reboot in 9 minutes
...
Daily server reboot in 1 minutes
zerak is offline
Sgt-Mess
Senior Member
Join Date: Dec 2007
Location: Sway Side,WA
Old 07-01-2008 , 01:35   Re: Server Crontab
Reply With Quote #40

Can you add more than one crontab such as "mapcyclefile 247dust sm plugins unload mapchooser"

Or Do I have to make a seprate job for each one.

And you should really update your main thread since the old cvars are still on there bsc_.
Sgt-Mess is offline
Send a message via AIM to Sgt-Mess
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 07:52.


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