by Guest on 2026/10/26 01:44:18 PM
Please add the ability for nnCron 1.93b15 Build 1177 (Windows) to shut down properly when Windows is restarted or closed. Version 3.44 does not respond to the command to close the program window. Forcing the process to close results in loss of session data, causing the next launch to start with rehashing all loaded torrents.
nncron.dat
==========
<%
: tixP S" tixati.exe" ;
: tixW S" Tixati v*" ;
: tixC S" tixati" ;
: TixatiClose ( -- )
tixP PROC-EXIST? IF
tixW WIN-EXIST? IF tixW WIN-CLOSE THEN
BEGIN 5000 PAUSE tixP PROC-EXIST? NOT UNTIL
BEGIN 5000 PAUSE tixC WIN-EXIST? NOT UNTIL
THEN
;
%>
#( Reboot_Cleanup
WatchQueryShutdown
Rule: uTP PROC-EXIST?
Rule: tixP PROC-EXIST?
Action:
INTERCEPT-SHUTDOWN
uTorrentClose
TixatiClose
S" restart" ENV S" reboot" COMPARE 0=
IF CONTINUE-REBOOT ELSE CONTINUE-SHUTDOWN THEN
)#