uniguibbs Posted January 23, 2014 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? Quote
Ulugbek Posted January 23, 2014 Posted January 23, 2014 you can use job if database oracle if firebird event Quote
wangxuebin Posted January 23, 2014 Posted January 23, 2014 just using delphi normal TTimer is ok.put a TTimer onto uniservermodule. Quote
uniguibbs Posted January 24, 2014 Author Posted January 24, 2014 thanks to all. thanks to wxb_km. TTimer dose work. Quote
tappatappa Posted June 23, 2014 Posted June 23, 2014 This does work only for .exe application. Any ideas for IIS dll applications? Quote
adragan Posted June 23, 2014 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. Quote
tappatappa Posted June 23, 2014 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. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.