Re: Cannot execute /usr/bin/fetchmail

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 3/25/07, Tim Jackson <lists@xxxxxxxxxx> wrote:
Fetchmail is a binary (executable), not a shell script. So you can't run
it like that.

You probably want a helper script that will execute fetchmail for you.
In many cases you'll need to specify options on the command line anyway.
For example, write a script called "my-fetchmail-script":

#!/bin/sh
fetchmail --some-option --some-other-option

and run "my-fetchmail-script" from cron.

Ok. That works. Thanks Tim.

Funny why cron behaves like that, does that mean I would have to make
a helper script to run any other command I would want (as opposed to
calling them directly)?


--
Stand before it and there is no beginning.
Follow it and there is no end.
Stay with the ancient Tao,
Move with the present.
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux