PowerShellGSM icon indicating copy to clipboard operation
PowerShellGSM copied to clipboard

Restart loop - New Year Date

Open Haidies-AU opened this issue 2 years ago • 3 comments

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 avatar Dec 31 '23 14:12 Haidies-AU

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

Haidies-AU avatar Dec 31 '23 15:12 Haidies-AU

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

Pull request already exists to fix this bug :)

Torath0071 avatar Dec 31 '23 17:12 Torath0071

Should be resolved in latest release

patrix87 avatar Jan 04 '24 02:01 patrix87