Scheduling with job queue

grouicgrouic Member Posts: 34
edited 2014-12-02 in NAV Three Tier
Hello,

I'm trying to schedule a codenunit every day at 20:10 (the same codeunit is to be executed on 5 companies at the same time).

The program is correctly executed the first day, and is terminated at 20:10:08.
The problem is that Navision schedules the next run at 21:10 instead of 20:10. The program is then executed every days after at 21:10 ...

RIUPsA.jpg

I'm using a NAS service on Nav 2013 R2 build 36366

Does anyone have an idea ?

Thanks for the help

Comments

  • tinoruijstinoruijs Member Posts: 1,226
    I can confirm this behaviour in NAV 2013 R2 and I'm curious if someone has taken the time to solve it.
    Because of priorities I haven't. :wink:

    Tino Ruijs
    Microsoft Dynamics NAV specialist
  • vasilis6669vasilis6669 Member Posts: 109
    Hi i had the same problem the other week.

    The way i solved it is to remove the value in the start date

    Then, add 1440 minutes 60x24hours in the no of minutes box


    Reset the status to take affect

    Let me know if you still have problem

    Regards,
    Vasilis charalambous
  • BardurKnudsenBardurKnudsen Member, Microsoft Employee Posts: 137
    This could be caused by the server running on UTC time (~GMT) and the clients running UTC+1.
    You can change the server setting in the config file / management console.
    Bardur Knudsen
    Microsoft - Dynamics NAV
  • tinoruijstinoruijs Member Posts: 1,226
    Thanks Bardur! Gonna check that.

    Tino Ruijs
    Microsoft Dynamics NAV specialist
  • grouicgrouic Member Posts: 34
    Hi,

    Thx Bardur, you were right :

    In the nas config, I replaced the default parameter for "Services Default Time Zone" UTC by "Server Time Zone"

    The next run is now correctly set for tomorrow !

    Thx again.
Sign In or Register to comment.