I am sure that I am not doing something right, but I am not finding very much information on how to do it correctly.
Here is the deal … I have a method named: check_for_bid_run
The method is a cronJob that runs a method named check_for_bid_execute at 9:30 am every morning.
I would like to run it as a batch process on the server.
How do I list it properly in the arg field?
Here is how I have it currently:
Solution: solutionname
Args: check_for_bid_num() ← Is this how it is supposed to be written?
User: username
Startup Msg: -empty-
Status: Is running
Here is the method: check_for_bid_run just in case I am doing something wrong there:
What do you mean by startup method?
The Servoy Server Guide says the same thing:
Select a solution(startup method)…"
Are you referring to the ‘On Open Method’ listing in solution settings? Do I need to set the method up to active on open before I can request it as a batch process?
Are you referring to the ‘On Open Method’ listing in solution settings?
That’s exactly what I mean
Do I need to set the method up to active on open before I can request it as a batch process?
No, you can request any solution (so long as you don’t do dialogs and other GUI related stuff).
The reason I mention that method is that you obviously want to add some variables on startup of the batch processor. If so, you need to capture those values. And you can do that with that method on startup of your solution and it is there that you process them.