Qt Shutdown and notes scheduler program