Scheduler Plugin Running Cron Job Multiple Times

Discuss all problems you have with Servoy here. It might help to mention the Servoy version and Operating System version you are using

Scheduler Plugin Running Cron Job Multiple Times

Postby jgarfield » Mon Apr 23, 2012 5:31 pm

When using scheduler.addCron (vs scheduler.addJob) it appears that the scheduler will start the job multiple times at once (think 20-400 times).

This happens even with removing the cron at the start of the called method and re-adding it at the end.

Attached code exemplifies the differences.

This was effectively bringing a few of our servers to their knees, so anyone experiencing performance degradation when using crons, may be experiencing this.

Reported at https://support.servoy.com/browse/SVY-2067
Attachments
CronBug.servoy
(6.3 KiB) Downloaded 191 times
Programmer.
adBlocks
http://www.adblocks.com
jgarfield
 
Posts: 223
Joined: Wed Sep 28, 2005 9:02 pm
Location: Boston, US

Return to Discuss possible Issues and Bugs

Who is online

Users browsing this forum: Bing [Bot] and 6 guests