Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

Executing batch job in ax 2009

Posted on by 312

Hi Friends,

I have a Batch Job, which got stuck at Executing status and I read that by setting it to Cancelling and then restarting the batch server AOS, However, after doing so the status is stuck at Cancelling and not changing.

I terminated running worker threads (in addition to changing status of batch tasks), No luck.. isn't rolled back.

Please suggest me, how to change back to waiting.

Thanks,

Vinay.

*This post is locked for comments

  • vinilkumar Profile Picture
    vinilkumar 312 on at
    RE: Executing batch job in ax 2009

    Yes,

    I cleared my issue.. It's stuck with executing, because of that user (batch) is still running..  so, next time is also stucking with the previous user.. I had check in  administrator -> common form -> online users..( here showing the stucking list)..

    I had kill the users in SQL.. while killing the users, batch back to waiting (automatically).

    Thanks  all for solving the issue...

    Regards,

    vinay.

  • Mea_ Profile Picture
    Mea_ 60,278 on at
    RE: Executing batch job in ax 2009

    If it stuck cancelling update batch job status and tasks status via x++ job or via sql. But before cancelling something again check that it is not doing anything, some jobs can take a lot of time, sometimes days.

  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,280 Super User 2024 Season 2 on at
    RE: Executing batch job in ax 2009

    Hi Vinay,

    Sometimes it can take a while to get to the cancelled status. When the status is not changing by itself, you can try to reset the status yourself manually, or using a script. As the AOS was restarted, the process itself is not running anymore.

  • Sukrut Parab Profile Picture
    Sukrut Parab 71,647 Moderator on at
    RE: Executing batch job in ax 2009

    How long usually you batch job runs ? And from how long it's in cancelling state ?

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans