I want to do database maintenance after midnight. Is there a way to close all harbour applications still running at midnight? What would the source code look like?
Thanks
Fulton Loebel
I want to do database maintenance after midnight. Is there a way to close all harbour applications still running at midnight? What would the source code look like?
Thanks
Fulton Loebel
May you can use TIMER?
I use :
DEFINE TIMER oOut INTERVAL 59*60000 OF oWnd ;
ACTION iif( LEFT(Time(),2)=="00" , ( set(_SET_ERRORLOG ,"Autoclose.log") , tracelog( DTOC(Date()) + " , Programma closed , user " + UPPER(NetName(.T.)) ) , oWnd:END() ) , )
Frank