running servoy in the background

i want to have a method that is schedule to run at a certain time daily without having to click on any button or having the solution opened. Is it possible to do that in servoy?

yes, there are several options

It depends on what you want to do.

1.) you can start a deeplink to start a client, calling a method and send an argument to that method (search for ‘deeplink’ on the forum)
You have to create a scheduler in your OS to fire that every time you need it

2.) You can also start a batchprocessor in combination with scheduler plugin of Servoy. that way a client (headless) will be started on the server and do the tasks what you want. (search for 'batchprocessors on the forum)

Hope this helps

Hi nani,

Probably you are looking for the server batch processor, it’s well documented on the administrators Servoy Server Guide.

or, on the client side you can use any scheduler your operating system provides you to direcly invoke your headless, web client or smart client solution.

If i create a schedule in my OS, how does my schedule know what method to run. Can I deeplink to a specific method? or deeplinking goes as far as connecting to a specific solution?

Also what exactly is a startup method?

Thank you so much for the help

ah i got what deeplinking is now.

thanks

Sorry it’s me again.

I still couldn’t get the task scheduler to behave the way I wanted it to.
I’m currently using the task scheduler from my OS to launch my solution.
This is how I approached it.

I’ve saved a solution from the web client on my desktop. And I’ve set up the task scheduler to launch that solution. However instead of the solution opening up, a "Java™ Web Start 1.6.0_03"window pops up. Can someone show me how to resolve this problem. I really appreciate it.

Hi Nani,

Why don’t you use the Servoy Batchprocessor.
This will run on the Servoy server and you define the schedule in a solution that it loads.
So the OS is completely out of the loop so you keep it all in one environment.

You can also make it database driven so that you don’t have to edit your batchprocessor solution every time you need to add/change/remove a schedule.
At ServoyWorld 2007 there was a session by Maarten Berkenbosch about this.
His slides and example files are on the ‘Download ServoyWorld Presentations & Demos’ page.

Hope this helps.

do I have to buy a license for the batch processor?

Hi,

Each batchprocessor, will take 1 Servoy client license.

Hi Nani,

A batchprocessor is in fact a Servoy Headless Client so that takes 1 client license, as Harjo already mentioned.
You can create a special solution that sets the schedules and calls the methods it needs to trigger.
Any new solution you need to schedule you just add them to this solution as a module.
This way you can reuse the business rules/code of the solutions you developed and you need only 1 batchprocessor (thus 1 client license).

Hope this helps.

currently our company only have a developer license. We will be purchasing client license sometime soon, but just not yet. Therefore, I don’t have a license to serve the batch processor. I’m trying to find another way to make this work without using the batch processor…however if a batch processor is the only wayto get around this then i’m just gonna rush my company to get the license soon. I really need your inputs.

Thanks