  | |  RE: [OT] mondoarchive via cron - how do you know if it completedc
orrectly? | RE: [OT] mondoarchive via cron - how do you know if it completedc
orrectly? 2004-01-26 - By Jody Cleveland
Back Hi Ben,
> > Just append "&& echo SUCCESS ", or something to that effect
> to the end of
> > that line. It only echoes upon success of the previous command.
> >
>
> Thanks, Jason! I hadn 't known about the && or || in shell
> scripting, but
> your comment helped me to find them in the bash man page.
> Very cool stuff!
> I 've got my script working well and it 's now sending me an
> email with the
> status report for the nightly backup.
What did you end up putting at the end? I tried && echo SUCCESS and it
gave me an error. I 'm looking to do the same you are, with the results
emailed to me.
Thanks for any help you can provide.
--
Jody Cleveland
(cleveland@(protected))
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@(protected)?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
|
|
 |