I need information

The forum to discuss the Headless version of Servoy. Web, Java and Servlet development questions can all be posted here.

I need information

Postby acpugliese » Mon Jan 11, 2010 8:58 pm

My question is whether I can claim a headless since my solution to run in a batch?. I have to use the addCronJob?, If the jobname is the name of the solution to run?, Must be declared in the batch processors of Servoy-admin?
I would be very useful to have accurate information
thanks
acpugliese
 
Posts: 20
Joined: Thu Jan 07, 2010 1:08 pm

Re: I need information

Postby ROCLASI » Mon Jan 11, 2010 9:23 pm

Hi,

To use a batchprocessor you create a global method that is linked to the onOpen event of the solution/module.
In this method you set the cronjob to trigger the real method that should do it's job.

So when you setup the batchprocessor in the Servoy-admin pages you tell it what solution it should open.
When it loads the batchprocessor (i.e. the headless client) it will trigger your onOpen method and the cronjob is set and will do it's work.

Hope this helps.
Robert Ivens
SAN Developer / Servoy Valued Professional / Servoy Certified Developer

ROCLASI Software Solutions / JBS Group, Partner
Mastodon: @roclasi
--
ServoyForge - Building Open Source Software.
PostgreSQL - The world's most advanced open source database.
User avatar
ROCLASI
Servoy Expert
 
Posts: 5438
Joined: Thu Oct 02, 2003 9:49 am
Location: Netherlands/Belgium

Re: I need information

Postby acpugliese » Wed Jan 13, 2010 3:19 pm

Hi
means that the cronjob jobname is the name of the global method, or the solution?
I could not understand this part.
thanks for your help.
acpugliese
 
Posts: 20
Joined: Thu Jan 07, 2010 1:08 pm

Re: I need information

Postby ROCLASI » Wed Jan 13, 2010 3:58 pm

Hi,

The jobname is just a unique identifier that you assign to the job. It has no relation to any Servoy objectname.
It has to be unique in the session you are in.

Hope this helps.
Robert Ivens
SAN Developer / Servoy Valued Professional / Servoy Certified Developer

ROCLASI Software Solutions / JBS Group, Partner
Mastodon: @roclasi
--
ServoyForge - Building Open Source Software.
PostgreSQL - The world's most advanced open source database.
User avatar
ROCLASI
Servoy Expert
 
Posts: 5438
Joined: Thu Oct 02, 2003 9:49 am
Location: Netherlands/Belgium


Return to Servoy Headless Client

Who is online

Users browsing this forum: No registered users and 9 guests