View Single Post
Old 10-22-2022, 10:50 AM   #739
DaltonST
Deviser
DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.
 
DaltonST's Avatar
 
Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
JOB_SPY_GRACEFUL_SHUTDOWN_LAST_TIME

Quote:
Originally Posted by BetterRed View Post
When calibre is starting and when it's terminating I'm seeing the that the Job Spy.json file is being rewritten (deleted and created) - irrespective of how little or how much I do.

Curious as to why - e.g. it is triggered by a specific JS setting.

BR

The .json has a parameter, 'JOB_SPY_GRACEFUL_SHUTDOWN_LAST_TIME', that is set to True if Calibre, and hence JS, shuts down properly instead of just being terminated in some way. Upon startup, JS checks for True, but if False, it does not automatically start up a couple of Tools (Tag Browser Icons Tool & Drop-Down List 100 Items Tool daemon) to ensure that Calibre starts up properly, and that JS is not the reason for the termination. JS will never keep Calibre from starting up.

So, JS saves True upon normal shutdown, and at the end of startup saves a False.





DaltonST
DaltonST is offline   Reply With Quote