Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#2661 Schedule is not calculated correctly

R2.6.3
closed
nobody
Scheduler (3)
5
2007-12-11
2007-10-11
Kai Egbert
No

For contract16 we checked the following problems on Release 2.6.3 and 2.6.1.

If you create a Schedule for a Week Day it will not calculate the correct Next Run Time.

To reproduce please do the following:

1. Create a Schedule for Schedule Type Week Day and Day of the Week for example Sunday. Set the Target Hour to for example 17.
2. Create a Scheduler using this Schedule and the AD_NoteDelete Process.
3. Start the JBoss and wait for some minutes so that the JBoss has started the Scheduler for the fist time.
4. Check the Date last and Date next run. The Date next run will be one day later on Monday instead of Sunday.
5. If you know stop the JBoss and switch your System time to the time short before the Date next run and then restart the JBoss and wait until he re-runs the Scheduler the Date next run will then be on Tuesday. And the time will also be change from 17 or 5pm to 5am.

An additional problem is that the Scheduler is not taking care of the Weekdays.

To reproduce please do the following:

1. Create a Schedule for Schedule Type Frequency and Frequency Type Day.
2. Switch of the weekday flag for your day tomorrow and select a Target Hour you want to.
3. Start the JBoss and wait for some minutes so that the JBoss has started the Scheduler for the fist time.
4. Check the Date last and Date next run. The Date next run will be set to tomorrow even if you have deselected this weekday.

Discussion

  • sboda
    sboda
    2007-10-11

    • milestone: 746433 --> R2.6.3
    • assigned_to: kmpink --> nobody
     
  • sboda
    sboda
    2007-10-11

    Logged In: YES
    user_id=1705860
    Originator: NO

    Replicated

     
  • sboda
    sboda
    2007-10-11

    Logged In: YES
    user_id=1705860
    Originator: NO

    *** Reclassified as Bug ***

     
  • sboda
    sboda
    2007-10-11

    • labels: --> Scheduler
     
  • Kathy Pink
    Kathy Pink
    2007-12-11

    • status: open --> closed
     
  • Kathy Pink
    Kathy Pink
    2007-12-11

    Logged In: YES
    user_id=329831
    Originator: NO

    We are moving all Open Support Requests, Bugs and Feature Requests to Compiere Case Management. Please refer to the following link for information on creating new Support Requests.
    http://www.compiere.com/support/community.php

    Thank you