Business Task Scheduler Not running properly

  • Business Task Scheduler Not running properly

    Posted by DSC Communities on October 23, 2020 at 10:17 am
    • Justin Reed

      Member

      October 23, 2020 at 10:17 AM

      I have recently developed an issue with my Business Central Task Scheduler.

      • I have an on prem instance of business central
      • Version: NA Business Central 16.2 (Platform 16.0.14073.14195 + Application 16.2.13779.0)

      We recently rebooted our app server that runs all the service tiers, and now my Task Scheduler is not running as expected. We run a separate service for our task scheduler.

      Now, if I restart my task scheduler service, my reoccurring job queue tasks will all run once on their earliest start date/time, increment the date/time by the No. of Minutes between runs, but then never run again. I have no errors in my log entries. If i restart my Task scheduler service and restart the jobs in the job queue, they will run one time again but then “Freeze up” for lack of a better term.

      The only warning (no errors) i have in event viewer has the Task Scheduler as its source and states “The Object Access Intent Override table is empty.” with a big stack trace.

      I have tried creating new jobs to test it, create entries for the objects i am running in the Database Access Intent List within BC, changing the credential type from windows to NavUserPassword. So far no joy.

      Any advice and/or ideas?

      Thanks in advance!

      /justin

      ——————————
      Justin Reed
      North America Fuel Systems Remanufacturing
      ——————————

    • Jason Wilder

      Member

      October 26, 2020 at 8:16 AM

      I am on an earlier version than you but this should still apply to you:

      It sounds like maybe your Scheduled Table is not being populated after the first try. There is a system table 2000000175 “Scheduled Task” that actually is what kicks off the actual job queue entry.Ā  You might need a developer to expose this table for you but you can then get to the next level of why things are not re-running.Ā  The Job Queue has a field called System Task ID which should match the ID field on the Scheduled task table.Ā  If you do not find the ID in the Scheduled task table then you are a bit closer to figuring out what is going on.Ā  Also curious if you hit the Restart button in the Job Queue Entries page if it creates the Scheduled Task and runs the job (guessing it will).

      In regards to something happening after a reboot, did you accidentally change a setting in the service tier and now it is taking effect when you rebooted?Ā  Double check your service tier settings to make sure nothing has changed.Ā  Consider creating a new one just as a test to see if that works the same.

      ——————————
      Jason Wilder
      Senior Application Developer
      Stonewall Kitchen
      York ME
      ——————————
      ——————————————-

    DSC Communities replied 4 years, 10 months ago 1 Member · 0 Replies
  • 0 Replies

Sorry, there were no replies found.

The discussion ‘Business Task Scheduler Not running properly’ is closed to new replies.

Start of Discussion
0 of 0 replies June 2018
Now

Welcome to our new site!

Here you will find a wealth of information created for peopleĀ  that are on a mission to redefine business models with cloud techinologies, AI, automation, low code / no code applications, data, security & more to compete in the Acceleration Economy!