How to read the current scheduler job?

Questions, tips and tricks and techniques for scripting in Servoy

How to read the current scheduler job?

Postby IT2Be » Sun Nov 23, 2003 1:41 pm

Wonderful that scheduler.

But, is it possible to read the job name of the job that will be executed?

More specific, I have an alarm. The scheduler job has the name with the id of the alarm enclosed. When running the alarm/job I want to give the message the content of the description field...
Marcel J.G. Trapman (IT2BE)
SAN partner - Freelance Java and Servoy
Servoy Components - IT2BE Plug-ins and Beans for Servoy
ServoyForge - Open Source Components for Servoy
User avatar
IT2Be
Servoy Expert
 
Posts: 4766
Joined: Tue Oct 14, 2003 7:09 pm
Location: Germany

Postby jcompagner » Mon Nov 24, 2003 4:40 pm

I will look if i can add a method on the scheduler that will return the last executed jobname.
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8840
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Postby IT2Be » Mon Nov 24, 2003 4:49 pm

Would be great, with this I would be able to give a message 'that makes sense' and also change the job...
Marcel J.G. Trapman (IT2BE)
SAN partner - Freelance Java and Servoy
Servoy Components - IT2BE Plug-ins and Beans for Servoy
ServoyForge - Open Source Components for Servoy
User avatar
IT2Be
Servoy Expert
 
Posts: 4766
Joined: Tue Oct 14, 2003 7:09 pm
Location: Germany

Postby jcompagner » Sun Dec 14, 2003 10:20 pm

Method added.
Will be included in 2.0 release but the plugin can also be used in 1.2
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8840
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet


Return to Methods

Who is online

Users browsing this forum: No registered users and 1 guest

cron