Skip navigation
1014 Views 6 Replies Latest reply: May 11, 2012 10:11 AM by MrGadget RSS
MrGadget Specialist 407 posts since
May 16, 2011

Has received 6 of 9 achievements.
Currently Being Moderated

May 9, 2012 10:42 AM

Job stuck in task Queue

I am running LD3 SP3.

 

I ran a software job and it said it went into a task queue.

 

I know this was answered before but when I right clicked and went to "Scheduled Tasks and Policies" there were 2 other tasks awaiting. I ran the Clear_Task_Queue script and it said it cleared the tasks but in the "Scheduled Tasks and Policies" the tasks were still there so I went and found the jobs and removed my client from them which cleared them from "Scheduled Tasks and Policies".

Now that everything looked like it was clear I try to run the job again and it said it was queued again. I waited an hour and it still hadn't run so I went home. This morning I come back and the job had run.

P.S. I also remoted in and ran Desktop Manager to get the policy invoker to run the job but it didn't.

 

My question is if the policy invoker is in charge of running a queued task when does it run? If its determined by the Agents - software distribution - policy options then mine is set for every 15 minutes so why after an hour had it not run?

  • zman Master 3,277 posts since
    Dec 14, 2007

    Has received 9 of 9 achievements.
    Currently Being Moderated
    1. May 9, 2012 2:08 PM (in response to MrGadget)
    Re: Job stuck in task Queue

    To me it sounds like your local db may be somewaht corrupt. I would try and delete and recreate:

     

    1. Stop the LANDesk Policy Invoker service.

    2. Delete the LDClientDB.db3 file in the Documents and Settings\All Users\Application Data\LANDesk\ManagementSuite\Database or programdata\LANDesk\ManagementSuite\Database directory.

    3. Run "CLIENTDBUTIL.EXE /create". The executable is in the LDCLIENT directory.

    4. Start the LANDesk Policy Invoker service.

  • zman Master 3,277 posts since
    Dec 14, 2007

    Has received 9 of 9 achievements.
    Currently Being Moderated
    3. May 9, 2012 6:59 PM (in response to MrGadget)
    Re: Job stuck in task Queue

    Sorry never used the script in question. I would look at the job that is hanging and see why it is hanging the queue (e.g., not running silently and waiting for user input, etc...)

  • zman Master 3,277 posts since
    Dec 14, 2007

    Has received 9 of 9 achievements.
    Currently Being Moderated
    5. May 11, 2012 6:53 AM (in response to MrGadget)
    Re: Job stuck in task Queue

    So sounds like the job is the issue. Can you provide some information about the job?

    1. Type - batch, MSI,
    2. Delivery Type. Is it running silently, etc..
    3. Possibly post the script if batch, vb, etc...
    4. What is the package doing.

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • Correct Answers - 20 points
  • Helpful Answers - 10 points
LANDESK Community powered by Jive SBS® 4.5.7.1  |  Legal Notices  |  Privacy Policy  |  Icon 

TweeterOn Twitter  |  Icon FacebookOn Facebook © 2007 LANDESK Software