[Jcrontab-developers] [ jcrontab-Bugs-1705609 ] Task running is different than the one that is star
Brought to you by:
iolalla
From: SourceForge.net <no...@so...> - 2007-04-23 06:56:31
|
Bugs item #1705609, was opened at 2007-04-22 23:56 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=375242&aid=1705609&group_id=22413 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: core Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: Task running is different than the one that is started Initial Comment: Problem: If 2 or more CPUs are in the server, it is possible that the task that is finally running is different than the one that was actually started. Sollution: Change (remove the word "static") the following line in the class org.jcrontab.CronTask (on the top of the file): private static Runnable runnable = null; to private Runnable runnable = null; Sender: Alex Kuyper (ale...@or...) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=375242&aid=1705609&group_id=22413 |