in reply to STDERR and STDOUT redirection from codeopen/code

Perhaps I misunderstood what you are trying to do there but if it's just a matter of redirecting STDOUT and STDERR from a cronjob to a file you can do this:
0 0 1,2,3,4 * 1 perlscript.pl > program.log 2>&1


--perlplexer

Replies are listed 'Best First'.
Re: Re: STDERR and STDOUT redirection from codeopen/code
by dpatrick (Scribe) on Apr 11, 2002 at 20:19 UTC
    Thanks, that's what we had before when I was running the second script directly but now I've got this wrapper and I wish the wrapper to handle logging.

    dpatrick
    - I think scsh is cool.
    Open Sourceror, Perlmonk
    http://perlmonk.org/~dpatrick