Auto Restart (Windows) CMD Batch? #1537
-
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. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 8 replies
-
|
Check out |
Beta Was this translation helpful? Give feedback.
-
|
it says its stopped |
Beta Was this translation helpful? Give feedback.
-
|
yeah, make sure to stop the current CAD process, then start it via PM2. Otherwise you'll have 2 CAD processes |
Beta Was this translation helpful? Give feedback.


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