Re: Why isn't my script running?

From: Jared Still <jkstill_at_gmail.com>
Date: Tue, 24 Feb 2009 10:47:17 -0800
Message-ID: <bf46380902241047j56fc3845jc142259310694323_at_mail.gmail.com>



On Tue, Feb 24, 2009 at 10:15 AM, Eugene Pipko <eugene.pipko_at_unionbay.com>wrote:

> Then in Linux:
>
> 00 01 * * 7 /home/oraprd/scripts/test_schema_stats.sh 1&2 >>
> /home/oraprd/scripts/logs/test_schema_stats.log
>
>
>

That should probably be:

home/oraprd/scripts/test_schema_stats.sh >> /home/oraprd/scripts/logs/test_schema_stats.log 2>&1

The redirection of errors to STDOUT has to follow the redirection of STDOUT itself, else you will not see errors in the log file.

Jared Still
Certifiable Oracle DBA and Part Time Perl Evangelist

--
http://www.freelists.org/webpage/oracle-l
Received on Tue Feb 24 2009 - 12:47:17 CST

Original text of this message