[lug] sed from cron job fails (works from command line)

Rob Nagler nagler at bivio.biz
Sun Oct 21 07:29:47 MDT 2007


On 10/20/07, Ben <bluey at iguanaworks.net> wrote:
> I've got a bash script that runs fine from the command line, but when I
> call it from cron.daily, I get the error

A simple solution is to put the code in a file, write a test for it,
and then execute the file like this:

0 1 * * * /home/bluey/bin/smtp-parser

Rob



More information about the LUG mailing list