in reply to Re: pipes don't work from cron
in thread pipes don't work from cron

i am an idiot... that was exactly it. just the paths. thanks

Replies are listed 'Best First'.
Re^3: pipes don't work from cron
by strat (Canon) on Feb 13, 2006 at 09:26 UTC

    The Module FindBin gives you a variable called $FindBin::Bin which points to the path where the executed perlscript is; if you need a relative path like my $file = "./files/file.txt";, you can easily write instead:

    use FindBin; my $file = "$FindBin::Bin/files/file.txt";

    Best regards,
    perl -e "s>>*F>e=>y)\*martinF)stronat)=>print,print v8.8.8.32.11.32"