Page 1 of 1

Can I create a Windows-like service using the headless clien

PostPosted: Fri May 24, 2019 7:19 pm
by craigcornish
I have a Windows service that runs every hour and fires a stored procedure.

A colleague asked me if it was possible to perform the same activity using Servoy's headless client.

So, can I create a service that is written using Servoy and runs like a Windows service?

Re: Can I create a Windows-like service using the headless c

PostPosted: Sat May 25, 2019 6:32 am
by Joas
Look on the admin page under "Batch Processors". Here you can create a batch processor that starts when the Servoy server starts and opens a solution in the headless client.
When this happens the onOpen function of the solution is executed.
In the onOpen function you can use the scheduler plugin to create a (cron)job that runs on certain times.

Re: Can I create a Windows-like service using the headless c

PostPosted: Tue May 28, 2019 3:35 pm
by craigcornish
Thank you for the reply!
It is very helpful.