Originally to: BlueRibbon

Hi ya,

> I have this line on my crontab:
> */5 * * * * /usr/bin/fetchmail -a -s -m "/usr/bin/procmail -d \%T"

Looks like your fields are out of whack here..  first of all, there should be just 3 
asterisks?  Here's a line from how I call some cron jobs:

08 0-23/6 * * * /home/bbbs/jdavismail.sh

> But when the cron tries to run the job, it gives me the following error
> (by mail):

> sh: -c: line 1: unexpected EOF while looking for matching `''
> sh: -c: line 2: syntax error: unexpected end of file
> fetchmail: SIGPIPE thrown from an MDA or a stream socket error
> fetchmail: socket error while fetching from pop.netcabo.pt
> fetchmail: Query status=2 (SOCKET)
> sh: -c: line 1: unexpected EOF while looking for matching `''
> sh: -c: line 2: syntax error: unexpected end of file
> fetchmail: MDA returned nonzero status 2
> sh: -c: line 1: unexpected EOF while looking for matching `''
> sh: -c: line 2: syntax error: unexpected end of file
> fetchmail: SIGPIPE thrown from an MDA or a stream socket error
> fetchmail: socket error while fetching from pop.netcabo.pt
> fetchmail: Query status=2 (SOCKET)

I've never run fetchmail from a cron job.. I used to call it under mandrake as a 
daemon (fetchmail -d 300).  I'm not sure if that would be the usage under gentoo.

Janis
([EMAIL PROTECTED])



--
[EMAIL PROTECTED] mailing list

Reply via email to