Options

Microsoft Dynamics NAV 2015 - Start Job Queue thru terminal commands

glennyboyglennyboy Member Posts: 16
edited 2023-07-19 in NAV Three Tier
Good day!

Is it possible to Start the Job Queue in MS Dynamics NAV 2015 thru terminal commands?

Microsoft Dynamics NAV 2015 Version W1 8.00 / 8.0.38798.0

Thank you!

Answers

  • Options
    txerifftxeriff Member Posts: 492
    The job queue is a windows service, you can start and stop it with service start and stop commands if that's what you are trying to do.
  • Options
    glennyboyglennyboy Member Posts: 16
    @txeriff

    thank you for the reply

    what is the name of the window service for Job queue?

    this is the Job Queues

    dquuevfyuh0a.png
  • Options
    krikikriki Member, Moderator Posts: 9,089
    [Topic moved from 'NAV/Navision Classic Client' forum to 'NAV Three Tier' forum]

    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


  • Options
    vaprogvaprog Member Posts: 1,118
    The Job Queue handler is a configuration option of the NST. You initially get this function as part of your one and only middle tier service. It is, however, good practice to run the job queue from one or more additional services, which you then have to install and configure to allow for handling the Job Queue, but usually not to offer client connections.
  • Options
    glennyboyglennyboy Member Posts: 16
    @vaprog Thank you for your reply

    we're having an issue regarding the auto-start of Job Queues

    We have to manually start the Job Queues

    This only happens to Windows 10 Pro 64bit OS, but for some of the POS machines with Windows 7 Pro 64bit OS, the Job Queues automatically started.

    Is there a way for us to do automation?

    Thank you!
  • Options
    vaprogvaprog Member Posts: 1,118
    Where and how do you start Job Queues manually?

    Are you talking about starting the job queue or about starting job queue entries?

    Is at least one middle tier service configured to run the TaskScheduler?

    Are Job Que Entries properly configured to be started by the job queue (Status = Ready, Earliest Start Date/Time in the past)?

    Are the entries that are ready Scheduled (see the FlowField in the entry)?

    Please note that after a service restart, Entries will not get Scheduled until the user whose ID is in the Job Queue Entry logs on to the Company.
  • Options
    glennyboyglennyboy Member Posts: 16
    @vaprog, thank you again for your reply.


    Where and how do you start Job Queues manually?
    - we open ms nav 2015, and start Job Queue manually.

    Are you talking about starting the job queue or about starting job queue entries?
    - Job Queue (please see the screenshot on my previous post)

    Is at least one middle tier service configured to run the TaskScheduler?
    - what do you mean?

    Are Job Que Entries properly configured to be started by the job queue (Status = Ready, Earliest Start Date/Time in the past)?
    - Yes

    Are the entries that are ready Scheduled (see the FlowField in the entry)?
    - what do you mean

    Please note that after a service restart, Entries will not get Scheduled until the user whose ID is in the Job Queue Entry logs on to the Company.

    Thank you!
  • Options
    vaprogvaprog Member Posts: 1,118
    edited 2023-07-28
    Sorry, your version seems to not yet be using the task sheduler, but still uses the NAS to run the job queue.

    I do not currently have access to a NAV 2015 server to check how it ought to be set up. Anyway, please check that the NAS is configured to be running and configured to run the job queue. Check Microsoft's documentation on how it ought to be set up. Also check windows event some time after a middle tier service restart. To make sure you should see an entry there, add a message to the startup code of the NAS Codeunit, which you then should be able to find in the Application event log.

    Also make sure you have a NAS servicing each of your job queue categories.
Sign In or Register to comment.