All pastes #933104 Raw Edit

Mine

public text v1 · immutable
·published 2008-03-08 02:51 UTC
rendered paste body
«laspace» Hey, I was wondering how I woild set up a shell script that could change settings on my server (I would run it through cron).
«tehpaper» well first you would make a shell script, then you would make it change settings then run it through rcon.
«tehpaper» step 4: profit is purely optional
«laspace» Oh k
«laspace» I want it to run through cron
«tehpaper» oh cron
«tehpaper» in that case i have no clue
«laspace» Could the script screen into the server console then run commands?
«tehpaper» why not just change the server cfg at a set time?
«tehpaper» so next map start the settings change
«laspace» How would I automaticaly change the server.cfg?
«laspace» tehpaper:
«tehpaper» no clue
«laspace» Ok cya.
quits: laspace (n=lapace@unaffiliated/laspace) ("Visit http://im-wa.de/wp/")
«tehpaper» i myself would use a bat file to auto rename the .cfg to .cfg.old then rename .cfg.1 to .cfg
«tehpaper» 1 bat file per change
«tehpaper» then use scheduler to set the times