# running servoy in the background

**URL:** <https://forum.servoy.com/t/running-servoy-in-the-background/8522>\
**Category:** Classic Servoy\
**Created:** [December 13, 2007, 9:26pm UTC](https://forum.servoy.com/t/running-servoy-in-the-background/8522 "2007-12-13T21:26:46Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![nani](https://avatars.discourse-cdn.com/v4/letter/n/58956e/32.png) [@nani](https://forum.servoy.com/u/nani)\
**Post date:** [December 13, 2007, 9:26pm UTC](https://forum.servoy.com/t/running-servoy-in-the-background/8522/1 "2007-12-13T21:26:46Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![Harjo](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/harjo/32/4873_2.png) [@Harjo](https://forum.servoy.com/u/Harjo)\
**Post date:** [December 13, 2007, 9:49pm UTC](https://forum.servoy.com/t/running-servoy-in-the-background/8522/2 "2007-12-13T21:49:42Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![automazione](https://avatars.discourse-cdn.com/v4/letter/a/8797f3/32.png) [@automazione](https://forum.servoy.com/u/automazione)\
**Post date:** [December 13, 2007, 10:01pm UTC](https://forum.servoy.com/t/running-servoy-in-the-background/8522/3 "2007-12-13T22:01:13Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![nani](https://avatars.discourse-cdn.com/v4/letter/n/58956e/32.png) [@nani](https://forum.servoy.com/u/nani)\
**Post date:** [December 14, 2007, 3:32pm UTC](https://forum.servoy.com/t/running-servoy-in-the-background/8522/4 "2007-12-14T15:32:36Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![nani](https://avatars.discourse-cdn.com/v4/letter/n/58956e/32.png) [@nani](https://forum.servoy.com/u/nani)\
**Post date:** [December 14, 2007, 4:08pm UTC](https://forum.servoy.com/t/running-servoy-in-the-background/8522/5 "2007-12-14T16:08:58Z")

</div>

ah i got what deeplinking is now.

thanks

---

<div class="post-metadata">

**Author:** ![nani](https://avatars.discourse-cdn.com/v4/letter/n/58956e/32.png) [@nani](https://forum.servoy.com/u/nani)\
**Post date:** [December 15, 2007, 12:32am UTC](https://forum.servoy.com/t/running-servoy-in-the-background/8522/6 "2007-12-15T00:32:51Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![ROCLASI](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/roclasi/32/4371_2.png) [@ROCLASI](https://forum.servoy.com/u/ROCLASI)\
**Post date:** [December 15, 2007, 11:30am UTC](https://forum.servoy.com/t/running-servoy-in-the-background/8522/7 "2007-12-15T11:30:44Z")

</div>

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](http://www.servoy.com/generic.jsp?mt=396&taxonomy_id=777)’ page.

Hope this helps.

---

<div class="post-metadata">

**Author:** ![nani](https://avatars.discourse-cdn.com/v4/letter/n/58956e/32.png) [@nani](https://forum.servoy.com/u/nani)\
**Post date:** [December 16, 2007, 8:28pm UTC](https://forum.servoy.com/t/running-servoy-in-the-background/8522/8 "2007-12-16T20:28:54Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Harjo](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/harjo/32/4873_2.png) [@Harjo](https://forum.servoy.com/u/Harjo)\
**Post date:** [December 16, 2007, 9:09pm UTC](https://forum.servoy.com/t/running-servoy-in-the-background/8522/9 "2007-12-16T21:09:51Z")

</div>

Hi,

Each batchprocessor, will take 1 Servoy client license.

---

<div class="post-metadata">

**Author:** ![ROCLASI](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/roclasi/32/4371_2.png) [@ROCLASI](https://forum.servoy.com/u/ROCLASI)\
**Post date:** [December 16, 2007, 9:36pm UTC](https://forum.servoy.com/t/running-servoy-in-the-background/8522/10 "2007-12-16T21:36:38Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![nani](https://avatars.discourse-cdn.com/v4/letter/n/58956e/32.png) [@nani](https://forum.servoy.com/u/nani)\
**Post date:** [December 17, 2007, 6:27pm UTC](https://forum.servoy.com/t/running-servoy-in-the-background/8522/11 "2007-12-17T18:27:09Z")

</div>

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
