Have Everything save the database when shutting down computer

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
Coldblackice
Posts: 79
Joined: Sun Jul 13, 2014 12:20 am

Have Everything save the database when shutting down computer

Post by Coldblackice »

Currently, I have to remember to manually exit Everything before doing a system reboot so that it writes the updated Everything.db down to disk. Would it be possible to have Everything do this automatically when it detects the system shutting down or rebooting?
void
Developer
Posts: 16671
Joined: Fri Oct 16, 2009 11:31 pm

Re: Have Everything save the database when shutting down computer

Post by void »

What version of Everything are you using?

Everything 1.3 and 1.4 should flush the database to disk when it receives WM_ENDSESSION (Shutdown/Log off)

If it takes longer than 30 seconds to save the database to disk, Windows will terminate the Everything.exe process, resulting in an out of date database.
This seems unlikely, but is a possibility.

It's also possible that Everything was busy and was unable to process a WM_QUERYENDSESSION within one second, which would cause Windows to terminate the Everything.exe process, resulting in an out of date database.

Everything does report some information about the system shutdown/logoff in its debug log.
To enable the debug log, please see:
http://www.voidtools.com/forum/viewtopic.php?f=6&t=5790

Create a debug log:
  • Make sure Everything does not start on system startup.
  • Run Everything
  • Shutdown or log off.
  • Restart and log back in.
  • Before starting Everything..
  • What is displayed in your %temp%\Everything Debug Log.txt file?
Post Reply