/build/static/layout/Breadcrumb_cap_w.png

KScript Not Running

Have a script to run Adobe Remote Update Manager with a batch file, the script itself works just fine I have tested it. However, there's a few things:

- It no longer shows on "Run Now Status" so I am assuming it doesn't run at all despite being on task schedule.

- Last few times it did appear on "Run Now Status" it says targeted 0 despite having a label of 400 computers.


Not sure why the script is not running on said devices on schedule, I set up the task on the KScript as follows:

Verify

1. Unzip

On Success

1. Launch batch file


Would the issue be somewhere on the label somehow or the task schedule feature on KACE? (I made an exact duplicate of the script to run on one device without a schedule or a label and it ran just fine.)

Thank you!


0 Comments   [ + ] Show comments

Answers (2)

Posted by: AmberSDNB 2 months ago
Blue Belt
1

I believe "Run Now Status" only displays items that were launched from "Run Now". If you're scheduling a script, that is not Run Now. I have a scheduled script that runs daily and works, and it never appears in Run Now Status.

Posted by: Unsullied 1 day ago
Yellow Belt
0

Hi @rahmed,

You may create a report to check on the scheduled scripts status. Create a custom report with this SQL code, modify the script number accordingly. Hope this helps!

SELECT
KBOT.ID AS SCRIPT_ID,
KBOT.NAME AS SCRIPT_NAME,
KBOT.DESCRIPTION,
MACHINE.NAME AS COMPUTER_NAME,
KBOT_LOG.START_TIME AS STARTED,
KBOT_LOG.STOP_TIME AS FINISHED,
concat(KBOT_LOG.STOP_TIME - KBOT_LOG.START_TIME) AS ELAPSED_TIME_IN_SECS,
KBOT_LOG.STATUS AS STATUS,
CASE
WHEN KBOT_LOG.STATUS = 1 THEN "Success"
WHEN KBOT_LOG.STATUS != 1 THEN "Failure"
END AS STATUS

FROM KBOT, KBOT_LOG, KBOT_LOG_DETAIL, MACHINE
WHERE KBOT.ID = KBOT_LOG.KBOT_ID
AND KBOT_LOG.OUTPUT_DETAIL_ID = KBOT_LOG_DETAIL.ID
AND KBOT_LOG.MACHINE_ID = MACHINE.ID
AND KBOT_LOG.START_TIME = KBOT_LOG.START_TIME
AND KBOT_LOG.STOP_TIME = KBOT_LOG.STOP_TIME
AND KBOT_LOG.STATUS = KBOT_LOG.STATUS
AND KBOT.ID = 1234 /* CHANGE THIS NUMBER ENTRY TO THE SCRIPT ID FOR YOUR REPORT */

ORDER BY KBOT_LOG.START_TIME DESC

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ