Job Queue doesn't run automatically

Hi,

I’m trying to schedule some repetitive task using the Job Queue. I create a new entry with a code unit that i created for test :

Vendor.GET (‘FRE-0389’);

Vendor.Name := ‘Modification Done’;

Vendor.MODIFY;

My problem that this entry doesn’t run automatically, every time i should execute the Code Unit 448 -Job Queue Dispacher - to make it running.

How can i fix that ?

PS: we are using Dynamics NAV 6.0 R2.

regards;

Hi,

Do you have NAS configured and setup for JOBQUEUE? There are a few posts regarding that .

g.

Thanks for your reply faludigabor,

i’m running the NAS on my PC and the RTC works fine. I followed many articles but i didn’t notice the problem?

regards,

HI,

what is the Frequency mentioned in the Job Queue Entry Card form? also check the earliest start date / time. the queue runs based on this field.

Regards

Sharran

Hi,

Try setting the “TableNo” property of the codeunit to “Job Queue Entry”.

I had a similar issue that was solved like that.

3733.codeunitProperies.png

Best Regards.

Hi ,

You should ensuere that the user that runs NAS has windows login access. I also rememmber that the Codeunit 1 had to be amended to pickup JOBQUEUE.

g.

Hi,

Jose Monteiro > I tried this too but it didn’t work? i still should execute the -Job Queue Dispacher - to make it running ?

regards

You should configure NAS with the parameter JOBQUEUE then you dont need to run anything manually.

Again , have you set up properly nas ?

Here is a link for example :

http://blogs.msdn.com/b/microsoft_dynamics_nav_sustained_engineering/archive/2007/12/19/how-to-set-up-job-queue-in-microsoft-dynamics-nav-5-0.aspx

gabor

I suggest that you start testing it without the NAS directly by running codeunit 448 (Job Queue Dispacher) directly (from the classic client).