RE: [OT] mondoarchive via cron - how do you know if it completedc orrectly?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxx) 


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux