procmail
[Top] [All Lists]

Re: Procmail & Crontab

2002-05-30 05:14:41
Prajakti asked,

| I'm trying to run a perl script through the procmail in a crontab.
| But I'm getting an error "Error writing to ParseMail.pl", when the cron
| runs.
| However, when I run the same script from command line, it works fine,
| without any errors.

My first guess is that the path to perl on the machine where your cron jobs
run is different from its location on the machine where your shell sessions
operate, so the #! line at the top of your perl script doesn't lead to perl
when it's invoked from crontab.




_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>