Hello,
I have some problems with this function where I can schedule some codeunit/report by NAS with JOBQUEUE parameter.
I setted a Starting time, for example, 01:30 and an Ending Time at 2:55, No. of Minutes between Runs = 1440 (1 day = 60 min x 24 h), Maximum No. of Attempts = 2 so I expect that it runs only one time for a day or maximum 2 times if the first fails.
But it continues to run the codeunit/report a lot of time in the interval between 01:30 and 02:55.
What is wrong? I don't find any documentation/help online about this function.
Can you please help me?
Thank you ery much
0
Comments
Is that correct or should I unflag the first one: Recurring Job?
Thank you
Youneed to make it recurring because you want to run more than once.
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
In NAV 2009 we have a Field "Maximum No. of Attempts to Run" in the Job Queue Entry Card. If I set it to Zero , Does it Function as if the "Error Handling"Field is SET to "Mark as Error and Stop " in version 4.0 on the Job Scheduler Setup Card(Scheduling details TAB) ?
1. In NAV 2009 we have a Field "Maximum No. of Attempts to Run" in the Job Queue Entry Card. If I set it to Zero , Does it Function as if the "Error Handling"Field is SET to "Mark as Error and Stop " in version 4.0 on the Job Scheduler Setup Card(Scheduling details TAB) ?
2. Mark as Error and Stop Field . If there are two Jobs X and Y in the Queue.If X fails Does Y run or even Y is Stopped?
3.Is there a functionality IF X fails Y should be Stopped from running in either version 4.0 or NAV 2009?
4. Is there a functionality in NAV 2009 where can run the Jobs Sequentially? I think Setting the Priority Field doesn't achive the Sequntial execution of jobs in Queue.
Thanks
2. No, Y will be executed.
3. If the two Job Queue Entries belong together and there's a needed dependency, why not just put it into one Job Queue Entry?
4. Yes, Field Priority is used to give NAS an indicator if two or more Job Queue Entries are scheduled on the same time, which one should be executed first. Why do you think it's not working?