NAV 2018 Task Scheduler doesn't actually run tasks

northyen
Member Posts: 14
So on this NAV 2018 build 19394, I have this weird problem, that enables me to schedule tasks but they never seem to actually run.
This is was I observe when I schedule a task and try to run it:
* Create a simple codeunit that does not do anything but a SLEEP command
* Schedule the codeunit to run every 5 minutes, every day
* Set the task to ready
* In a second or two, to the "Planned" field is set to "Yes"
* A record is created in the
* Then planned to goes no and nothing actually happened
* No Log Entries have been created to actually confirm it ran
* Server configuration have been setup to run tasks
* Authentication is set to Windows
* No entries related to this in event viewer
The task scheduler used to run without any issues before the IT hosting had to complete restore everything due to a system crash.
Any ideas?
This is was I observe when I schedule a task and try to run it:
* Create a simple codeunit that does not do anything but a SLEEP command
* Schedule the codeunit to run every 5 minutes, every day
* Set the task to ready
* In a second or two, to the "Planned" field is set to "Yes"
* A record is created in the
* Then planned to goes no and nothing actually happened
* No Log Entries have been created to actually confirm it ran
* Server configuration have been setup to run tasks
* Authentication is set to Windows
* No entries related to this in event viewer
The task scheduler used to run without any issues before the IT hosting had to complete restore everything due to a system crash.
Any ideas?
0
Answers
-
We had similar issues but it was intermittent. So on some days the Job queue would not run at all, and there is no error message or similar. Once you restart it it would run again.
We resolved this by creating a new NAV Service instance only to execute task scheduler (Job queue tasks).
We also increased "Maximum Concurrent Running Tasks" to 20
On all other NAV services we disabled the Task scheduler.
In other words we have a dedicated NAV Service that runs Task scheduler only.
On the other hand if the Job Queue does not work at all I would check the settings in the NAV Service config file. (Is the task scheduler enabled )
If the config is fine it is possible that the dll got damaged or similar in that case i would uninstall NAV 2018 and install it again.
I hope this helps.0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions