Client Management Suite

 View Only
  • 1.  Email when a job is complete fail/success?

    Posted Aug 01, 2011 02:15 PM

    I have setup a job that has 5 tasks and I would like to know if there is a way to have it email me when the job has completed.  I would prefer an email with either the log attached or a success / fail.  Can this be accomplished and if so, how.  

     

    If not, then is there a another way to do this (I didn't see anything in Software Policy either).  Basically, we want a way to see what all really failed and/or had success.  If it had a failure where in the process did it fail.  Someone...?  Anyone?  Please! cheeky  Enclosed is a screenshot of the job.



  • 2.  RE: Email when a job is complete fail/success?

    Posted Aug 03, 2011 02:44 AM

    Hi CTgeek,

     

    You can totally do what you are trying to do by using conditions in your job. Add your task and then tack conditions on it based on your return codes. Your screen shot doesn't seem to have made it through so I can't tell what you are trying to do, however something simple would be to add a condition that looked for a non-zero return code and sent an email according to this.

     

    Have a look at conditions and if you need more help, reply with a bit more info about the tasks you are trying to perform.

     

    Cheers

    Ben



  • 3.  RE: Email when a job is complete fail/success?

    Posted Aug 03, 2011 09:01 AM
      |   view attached

    I have something like this setup but it does not email me when complete.  Any ideas? 

    Thanks!



  • 4.  RE: Email when a job is complete fail/success?

    Posted Aug 03, 2011 10:33 AM

    I can't see the return value you're looking for, but if that return value is found, it should immediately be running the email Success Job Result.  You may want to create a dummy task while troubleshooting that does something like copy a file to the C:\ drive so you know the logic is being followed.  If you receive neither the success e-mail or the failed e-mail, I'm going to say there's something wrong with your e-mail task.  Can you open up an e-mail task, screenshot it, and share the settings with us?



  • 5.  RE: Email when a job is complete fail/success?

    Posted Aug 03, 2011 03:52 PM

    Well at this point I am willing to try anything that sends an email at all.   For as much time as I have spent on this I could have used psexec with the old blat.exe in a command script and probably be done by now. angel.  Why ole why did Symantec decide to go all web-based for Altiris anyway....(lol).  

     

    Anyway, here is what I got



  • 6.  RE: Email when a job is complete fail/success?

    Posted Aug 03, 2011 04:34 PM

    Your initial condition sets up success as 0, 3010, 3011, or 1641.

    Where is the 'email Success Job Result' task running, and have you verified that c:\scripts\bmail\bmail.exe is present?  This is running on the client.