Hi Guys,

Is there a way to see the status of a script scheduled to run at night? I want to see how many machines have actually run the script and how many are left to run it.

Cheers,

Mike
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
There are a few ways.

  1. You could add some debug feedback in your script and then upload that result as the last task of the script. There is an upload file task
  2. If the machine has updated it's script (via script interval) since the script ran then AND you have agent log retention set to on then you can see the script log in the inventory of the machine.
  3. If you are on the machine then you can check the logs on the machine.
I like to leave "agent log retention" turned off for minimal client overhead. So I prefer #1. Of course #1 only works if the script didn't bomb completely and actually got to my upload file task. But if it's bombing completely then I probably need to troubleshoot that on the agent anyway.
Answered 10/27/2011 by: GillySpy
Seventh Degree Black Belt

Please log in to comment
0
I'm looking for more of a global status similar to the run now status page.
Answered 10/27/2011 by: ms01ak
Tenth Degree Black Belt

Please log in to comment
0
That could be a good enhancement request.

For today, if there was a result to option #1 that you could track like existence of a file then you could easily search / report on the results. For machines that are having issues you could likely troubleshooting one and solve many.
Answered 10/27/2011 by: GillySpy
Seventh Degree Black Belt

Please log in to comment
0
I have successfully used the Scripting-->Search Logs to get this kind of information. I had to try many different combinations of the 5 search fields to get what I wanted:

Search for: (you must put something here, and it must match in the log text, not in the header with the machine or script name or date/time)
Script:
Log types:
Historical:
Labels:

These searches can be slow, but I find them comprehensive. Sande
Answered 10/31/2011 by: snissen
Fourth Degree Green Belt

Please log in to comment
Answer this question or Comment on this question for clarity