uniguibbs Posted January 23, 2014 Share Posted January 23, 2014 i know that TUniTimer is clientside component. i want achieve a function on server side like TUniTimer work on clientside. i want run a function Every 60 seconds on server side. how to achieve? Link to comment Share on other sites More sharing options...
Ulugbek Posted January 23, 2014 Share Posted January 23, 2014 you can use job if database oracle if firebird event Link to comment Share on other sites More sharing options...
wangxuebin Posted January 23, 2014 Share Posted January 23, 2014 just using delphi normal TTimer is ok.put a TTimer onto uniservermodule. Link to comment Share on other sites More sharing options...
uniguibbs Posted January 24, 2014 Author Share Posted January 24, 2014 thanks to all. thanks to wxb_km. TTimer dose work. Link to comment Share on other sites More sharing options...
tappatappa Posted June 23, 2014 Share Posted June 23, 2014 This does work only for .exe application. Any ideas for IIS dll applications? Link to comment Share on other sites More sharing options...
adragan Posted June 23, 2014 Share Posted June 23, 2014 Try to write a service on the server. YourService.OnExecute -> TTimer.Enabled:=True; ...................... Then TTimer.OnTime do whatever you want to do I've seen this done for printing directly to the printer, backups or interfaces to other systems. Link to comment Share on other sites More sharing options...
tappatappa Posted June 23, 2014 Share Posted June 23, 2014 Try to write a service on the server. YourService.OnExecute -> TTimer.Enabled:=True; ...................... Then TTimer.OnTime do whatever you want to do I've seen this done for printing directly to the printer, backups or interfaces to other systems. Hi adragan, thanks for you prompt reply. What do you mean by "service"? You mean a windows service, a separate application? I really need to execute my code inside the ServerModule, because the timer must send a keep-alive signal to a separate watchdog. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now