web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Batch Job Recurrence Processing in D365

(0) ShareShare
ReportReport
Posted on by 1,163

Hi All,

I have a batch job schedule to run every 3 minutes in D365 environment and have the below queries.In case the batch 1 starts at 11.13 and batch 3 starts 11.16 .

If the batch 1 takes too much time to complete lets say it gets completed at 11.18 then will the batch at 11.16 starts as per schedule or it will start after 11.18 or it will start at 11.16 but in waiting state.

example. Batch1 -start 11.10    end 11.13

                batch 2 start 11,13    end 11.18

                now batch 3 will start at 11.16 or will start at 11.18 or it will start at 11.16 but will execute only after 11.18.

Also what about the records in case batch 3 starts executing at 11.16 will it skips the records considered for batch 2 or not as the flag is updated after the completion of the batch.

My assumption is that batch 3 will start only after completion of batch 2.

But recently we are facing issue that a record with more lines is not getting executed and it gets executed by EOD which is very strange and if the same record is being ran manually then it runs properly.

I know how the recurrence etc is set.

Thanks,

Vikas Mehta.

I have the same question (0)
  • Suggested answer
    Alireza Eshaghzadeh Profile Picture
    14,839 Super User 2026 Season 1 on at

    Hi Vikas,

    It can great that you set recurrence time for a batch job in regards to the average time that you can evaluate on batch job history.

    This will be helped to get a better overview on how long a batch job need to be executed and to find the max and min execution time (i.e. from End time - Actual start time). Then you can come up with a recurrence time for the batch job.

    Can you please check if the 3 min is correct as recurrence for this batch job?

    Since if it is not enough, it will not follow the recurrence and it will wait that job being finished. See the following example for more info:

    Actual Start time - End time

    1- 11:10 - 11:13 - Next run will be 11:13 and since it has been already finished before 11:13 next run will be 11:13

    2- 11:13 - 11:18 - Next run will be 11:16 but since it has not been finished until 11:16 next will be 11:16 + 3 min = 11:19

    3- 11:19 - 11:26

  • André Arnaud de Calavon Profile Picture
    303,679 Super User 2026 Season 1 on at

    Hi Vikas,

    To get a bit more clarification, did you setup 1 batch job or three batch jobs? If it is one, it will wait for completion.

    Can you clarify what you mean with the last sentence about EOD and manually? What is the "record with more lines"?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 617

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 461 Super User 2026 Season 1

#3
Syed Haris Shah Profile Picture

Syed Haris Shah 298 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans