Quote:
Originally Posted by BetterRed
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