Hi,
We have a customer that wants to do EDI files through Job Que and want to know if we can assign 1 dedicated server for this task.
Prior to NAV 2017, we were abler assign a specific server in the Job Que Entry Card, General fast tab. However, we are not seeing this setting this in NAV 2017. IS there a way to still do this?
Is it still possible to choose
*This post is locked for comments
Dedicated servers can be tricky like that and it can be really hard to set them up, but there are ways to solve that. If you get the right dedicated server, you will not struggle with the set up because they come ready. You can go to GTHost and check out their cheap dedicated servers. They have awesome offers on those now and you will get one in just 15 minutes. They are using the best available components so their servers are very reliable. They will not look to scam you with some hidden fees and you get 100% network uptime. Your servers will constantly be getting better because they are updating them. It is great that we can now have affordable dedicated servers.
Have you managed to do it?
Actually not possible, but you can create a workaround.
1) store in the Job Queue Entry task the Server and Instance which you want to run the code in.
2) in your Dispatcher-Codeunit (for example 448) make something like this:
// get current server instance
ServerInstance.GET(SERVICEINSTANCEID);
IF ServerInstance."Service Name" <> JobQueueEntry."Server Instance to be executed on" THEN
EXIT;
// check for current session
IF SESSIONID <> JobQueueEntry."Session to be executed in" THEN
EXIT;
ExecuteFunction(); // call Codeunit or Report as configured in Job Queue Entry here
Otherwise, there are more performan way to execute NAV scheduled tasks without using Job queue, like for example Powershell and InvokeNavCodeunit:
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156