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

  • Community Member Profile Picture
    on at
    RE: SysRecurrence execution

    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

  • Martin Dráb Profile Picture
    233,544 Most Valuable Professional on at
    RE: SysRecurrence execution

    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
    RE: SysRecurrence execution

    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

  • Verified answer
    Martin Dráb Profile Picture
    233,544 Most Valuable Professional on at
    RE: SysRecurrence execution

    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.

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Microsoft Dynamics AX (Archived)

#1
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 100 Super User 2025 Season 1

#2
Community Member Profile Picture

Community Member 48

#3
shanawaz davood basha Profile Picture

shanawaz davood basha 6

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans