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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

SysRecurrence execution

(0) ShareShare
ReportReport
Posted on by

Dear team,

       Greetings for the day, Here i have doubt on batch jobs!

My Question1, I set a batch job at 10:00am but now the time is 9.00am. So how system will run a batch exact at 10:00am and how the system encounter that time? which class and method will execute this batch job?

and

My Question2, How many times that method will execute in a minute?

Thanks

Suresh

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Martin Dráb Profile Picture
    237,892 Most Valuable Professional on at

    AX looks for batches to run every minute. Look at BatchRun class (e.g. serverGetTask() method). Also don't forget that even BatchRun class can be debugged, therefore you can walk through the executed code step by step to see what it does.

  • Community Member Profile Picture
    on at

    Dear Martin Dráb,

       

            Very thanks for your reply, Happy to get solution to my question. i have small doubt on this! Is that method will execute only once in a minute not every second?

    Thanks

    Suresh

  • Martin Dráb Profile Picture
    237,892 Most Valuable Professional on at

    It used to be once per minute, but I don't currently have access to AX 2012 code to verify how it looks like there (I'm sitting at an airport). You can review the code and/or debug it, so give it a try.

  • Community Member Profile Picture
    on at

    Dear Martin Dráb,

        You are Great. Even i observed that, we cannot set a batch job for seconds, it must be in minutes so it will run once per minute. Thanks for your valuable time for me.

    Thanks

    Suresh

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans