Auto Restart (Windows) CMD Batch? #1537
Answered
by
casperiv0
Legacy-TacticalGamingInteractive
asked this question in
Q&A
Describe the featureWondering if you know how to code into the CMD window process to auto restart if a crash is detected. I cannot keep restarting manually once a day its getting too hectic. For example if the script has detected: then it will automatically attempt to run: I'm not sure how to implement this myself. Additional ContextDaily crashing is becoming annoying to deal with and my CAD is down for hours sometimes before someone tells me. |
Answered by
casperiv0
Feb 19, 2023
Replies: 3 comments 8 replies
|
Check out |
0 replies
Answer selected by
casperiv0
|
yeah, make sure to stop the current CAD process, then start it via PM2. Otherwise you'll have 2 CAD processes |
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Check out
pm2. This will run the CAD as a service in the background, should be supported on all platforms: https://docs.snailycad.org/docs/guides/how-to-start-with-pm2