patrix87 / PowerShellGSM

A Comprehensive PowerShell Tool for Simple Automated Game Server Management.
https://github.com/patrix87/PowerShellGSM/
MIT License
109 stars 19 forks source link

Restart loop - New Year Date #45

Closed Haidies-AU closed 8 months ago

Haidies-AU commented 8 months ago

Server and script have been running flawlessly for months. Today the server has been restarting every 10 minutes since its 4am restart. each log file showing the script thinks the server is due for a restart.

NextRestart: 01/01/2024

I suspect the script is only using the day and month, Since those two values are now less than current it believes it needs to restart.

Haidies-AU commented 8 months ago

Now that its past midnight the problem has resolved, I have no doubt it will return next New Years Eve.

Torath0071 commented 8 months ago

Hi, you can check a fix here https://github.com/patrix87/PowerShellGSM/issues/43#issuecomment-1872971511

Pull request already exists to fix this bug :)

patrix87 commented 8 months ago

Should be resolved in latest release