Open tballison opened 2 years ago
This basically works now. Still need to add the check mentioned above, and we still need to add confirmation that the process id that is stored in the state.json file is actually the same batch process once the app is turned back on and looks up that process id. That is, we don't want this application to accidentally kill a process that happens to have the old process id's id. The chances of this are really small, but we should add some checks.
Will likely turn this off in the near term because of the complexity it adds to the code.
I've thoroughly disabled this for now.
This will also allow the app to open up and see if the last started process is still running.
Will need to ensure that the app can only kick off one batch process at a a time.