Ask the Community
Groups
Agent Procedures appear stuck / not running on a newly installed Agent - Connect IT Community | Kaseya
<main> <article class="userContent"> <div> <p>KB#: KKB000616</p> <p> </p> <p>· QUESTION</p> <p>I deployed a new agent using a package with settings copied from a template account. The Template has a number of Agent Procedures scheduled, which appear in the "Pending Procedures" tab. Some of them did not run on the new account and remain Pending for a long time. Why is this happening?</p> <p> </p> <p>· ANSWER</p> <p>After further investigation it was found that: -<br><br>1) the Procedures were scheduled to run once, with "skip if offline" selected<br>2) the agent had gone offline shortly after being installed (confirmed by looking at the "agent log")<br>3) the Procedure log reported "KServer cancelled the Procedure <procedure name> because <agent.group ID> was offline"</p> <p> </p> <p>If you are running procedures only once on new agents, deselect "skip if offline" when scheduling them on the template account to ensure they will run.</p> <p> </p> <p> </p> <p>· MORE INFORMATION</p> <p> </p> <p>· APPLIES TO</p> <p>IT TCenter, IT Workbench</p> <p> </p> <p> </p> </div> <div> </div> <div> <a href="/home/leaving?allowTrusted=1&target=http%3A%2F%2Fcommunity.kaseya.com%2Fkb%2Fw%2Fwiki%2Ftags%2Fresolution%2Fdefault.aspx" rel="nofollow tag">resolution</a>, <a href="/home/leaving?allowTrusted=1&target=http%3A%2F%2Fcommunity.kaseya.com%2Fkb%2Fw%2Fwiki%2Ftags%2FAgent%2BProcedures%2Fdefault.aspx" rel="nofollow tag">Agent Procedures</a>, <a href="/home/leaving?allowTrusted=1&target=http%3A%2F%2Fcommunity.kaseya.com%2Fkb%2Fw%2Fwiki%2Ftags%2FIT%2BCenter%2Fdefault.aspx" rel="nofollow tag">IT Center</a>, <a href="/home/leaving?allowTrusted=1&target=http%3A%2F%2Fcommunity.kaseya.com%2Fkb%2Fw%2Fwiki%2Ftags%2Fcore%2Fdefault.aspx" rel="nofollow tag">core</a> </div> </article> </main>