scheduler

I already posted a question about reading back the name of a (cron-) job. Johan already replied that that he would look into this.

Playing with it a little bit more I tried to call the global.methodName with extra variables like global.methodName(calling_id, calling_text).

That gave me a java error message. But if we could ‘attach’ variables to the method like we normally can I don’t need anything to read the name.

But I do need something. I use this as an alarm and it makes no sense to show a message when the user doesn’t know where the message relates to.

Ok you want to add a job with a method and where you can add some arguments?

like:

scheduler.addCronJob(name,timings,global.method,new Array(‘test’,‘test2’))

i wil add it to the feature list

Thanks, great!!!

method added.
Will be in the 2.0 release but plugin can be used in 1.2 if needed.

jcompagner:
method added.
Will be in the 2.0 release but plugin can be used in 1.2 if needed.

Rock on!!! For anyone making a calendar application, you just got them to convert. :D

Rock on!!! For anyone making a calendar application, you just got them to convert

Hi Matt, can you give an example what you mean by that?
Mabey it’s late but I don’t get the picture! :?

HJK:

Rock on!!! For anyone making a calendar application, you just got them to convert

Hi Matt, can you give an example what you mean by that?
Mabey it’s late but I don’t get the picture! :?

It just get easier - that’s my understanding.

Alarms are fully possible in a calendar application with the scheduler support. On FileMaker you have to purchase a plugin to trigger scripts. With the built in support in Servoy you can make a calendar that can not only email appointment notices, but launch applications, grab web pages - pretty much anything needed on a schedule. But you know this. I’m just giving the developers some additional praise. :D

On behalf of our modest (but very bright) dev team, THANK YOU all for the compliments we keep receiving. Makes our work a lot of fun!

From our side, we’d like to thank all developers who’ve been putting in their efforts, helping us to improve Servoy, build after build.
Keep up your good work!
:)