Page 1 of 1

scheduler

PostPosted: Fri Nov 28, 2003 1:13 pm
by IT2Be
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.

PostPosted: Fri Nov 28, 2003 3:54 pm
by jcompagner
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

PostPosted: Fri Nov 28, 2003 4:12 pm
by IT2Be
Thanks, great!!!

PostPosted: Sun Dec 14, 2003 10:21 pm
by jcompagner
method added.
Will be in the 2.0 release but plugin can be used in 1.2 if needed.

PostPosted: Tue Dec 16, 2003 2:06 am
by mattman
jcompagner wrote: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

PostPosted: Wed Dec 17, 2003 1:03 am
by Harjo
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! :?

PostPosted: Wed Dec 17, 2003 2:00 am
by mattman
HJK wrote:
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

PostPosted: Wed Dec 17, 2003 10:46 pm
by maarten
<img src='http://smileys.smileycentral.com/cat/10/10_1_108.gif' border=0>
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!
:)