On 5/18/07, jan gestre <[EMAIL PROTECTED]> wrote:
What does $LOGFILE contain? Also, take note that in your backup script: <snip> $BACKUP db1 -u$DBUSER -p$DBPASS > db1_before.sql # $BACKUP db2 -u$DBUSER -p$DBPASS > db2_before.sql # if [ "$?" == "0" ]; then </snip> the status code that will be returned is that of the second $BACKUP invocation. So to be safe, also log the exit code for the first one. Instead of `mailx`, can you try `mail`? -- Ian Dexter R. Marquez http://iandexter.net | [EMAIL PROTECTED] http://feeds.feedburner.com/Coredump _________________________________________________ Philippine Linux Users' Group (PLUG) Mailing List [email protected] (#PLUG @ irc.free.net.ph) Read the Guidelines: http://linux.org.ph/lists Searchable Archives: http://archives.free.net.ph

