Home
»
Discussion Forums
»
Scripts & Agent Procedures
»
Success THEN? ELSE? Failure?
Subscribe via RSS
Share this
Similar Posts
4.8 upgrade success of failure
by
LegacyPoster
on
Jul 4, 2007
Monitoring Backup Exec Success/Failures with Monitor Sets
by
LegacyPoster
on
Dec 19, 2009
Report Event Log Success Audits / Failure Audits
by
michael.haerri
on
Jul 16, 2014
Looking for a script to start a Process upon failure, email/ticket if not successful.
by
tmccullough
on
Jan 15, 2021
Success or failures logged for each script called in master script??
by
LegacyPoster
on
Oct 27, 2008
View More
Details
5
Replies
1
Subscriber
Posted
over 15 years ago
Scripts & Agent Procedures
Success THEN? ELSE? Failure?
Posted by
LegacyPoster
on
Sep 6, 2005 1:24 AM
When running a script that does PC Cleanup (defrag, disk cleanup, ad-aware scan, etc) it does some weird things.
At times, a client station will report Success THEN, or Success ELSE, or sometimes a failure (which at most times, we can see why it failed).
My concern is not knowing the difference between "Success THEN" and Success "ELSE". My logic tells me that a Success THEN is successful up until a THEN statement, but maybe hangs? A Success ELSE might be that it's successful up until the last ELSE statement? Most of these systems are of the same configuration, XP SP2, etc.
Can someone clarify?
Legacy Forum Name: Success THEN? ELSE? Failure?,
Legacy Posted By Username: BCarder
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
Posted by
LegacyPoster
on
Sep 2, 2005 11:02 PM
Hi,
Success THEN, means that the script ran the THEN branch succesfully, while success ELSE means it ran the ELSE branch of the script successfully.
Success as far as the script is concerned does not necessarily equate to success as far as the client is concerned, as although every attempt is made for the script to try and pick up feedback from the client, of course the script can't possibly know what constitues success or failure for every command, program etc that you might script.
Hope this helps clarify.
Legacy Forum Name: Script Discussion,
Legacy Posted By Username: raybarber
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
Posted by
LegacyPoster
on
Sep 5, 2005 1:23 AM
Thanks Ray, again, you helped us!
Legacy Forum Name: Script Discussion,
Legacy Posted By Username: BCarder
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
Posted by
LegacyPoster
on
Sep 6, 2005 1:24 AM
Happy to help!
Legacy Forum Name: Script Discussion,
Legacy Posted By Username: raybarber
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
Posted by
aabbasi
on
Aug 22, 2011 5:32 PM
I also wonder the same.
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
Posted by
aabbasi
on
Aug 23, 2011 12:19 AM
Scripts that return Success ELSE seem to give me less than desirous results.
You have posted to a forum that requires a moderator to approve posts before they are publicly available.