Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Start server at specific time/date #88

Open
Kugelschieber opened this issue Jul 21, 2020 · 6 comments
Open

Start server at specific time/date #88

Kugelschieber opened this issue Jul 21, 2020 · 6 comments
Assignees
Labels
v2 Feature will be implemented in version 2.0 of accweb.

Comments

@Kugelschieber
Copy link
Member

No description provided.

@Kugelschieber Kugelschieber added the v2 Feature will be implemented in version 2.0 of accweb. label Jul 21, 2020
@Kugelschieber Kugelschieber self-assigned this Jul 21, 2020
@Menteroth
Copy link

Menteroth commented Oct 27, 2020

Maybe add scheduled restart of chosen server(s) as well? If possible.

@Kugelschieber
Copy link
Member Author

You mean automatically restarting them at a certain time? What would that be good for?

@Menteroth
Copy link

Yeah that. Because long endurance races seems to take a toll on the server and create issues. That's what it sounded like at least. Not entirely sure. So it sounded like it could be a decent enough feature perhaps.

I'll see if I can ask around too.

@Menteroth
Copy link

Asked around a bit. Didn't seem to be a problem.

@arelstone
Copy link

Tjis would be very usefull for us at Light Speed Racing. We are comming from OGP and was using the cron module to automatic start race servers when they were suppose to go live

@Renegade89
Copy link

Renegade89 commented Dec 21, 2023

For those interested in scheduled restart;

I found that deleting the cfg folder after starting the server will still run a full cycle of the configured sessions (for example P/Q/R, Q/R). After sessions have run it will output results files nicely, and the server will halt because of not having a valid config file available.

Using task scheduler you could create a batch script that runs the accserver.exe (or call API) and then delete the (contents of the) cfg-folder a few seconds later. This way only 1 practice, qualifying and race session will run. Ideal for league circumstances.

I personally use it when the server needs to reboot, so everyone can finish his race.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
v2 Feature will be implemented in version 2.0 of accweb.
Projects
None yet
Development

No branches or pull requests

4 participants