Re: Why isn't my script running?

  • From: Jared Still <jkstill@xxxxxxxxx>
  • To: eugene.pipko@xxxxxxxxxxxx
  • Date: Tue, 24 Feb 2009 10:47:17 -0800

On Tue, Feb 24, 2009 at 10:15 AM, Eugene Pipko <eugene.pipko@xxxxxxxxxxxx>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

Other related posts: