On Sun, Mar 25, 2007 at 06:48:13PM +0800, Matt Arnilo S. Baluyos (Mailing Lists) wrote: > I have noticed that commands run via cron and execute via /bin/sh, so > I tried to run the fetchmail command manually. This is what I get: > > [root@scalix ~]# /bin/sh /usr/bin/fetchmail > /usr/bin/fetchmail: /usr/bin/fetchmail: cannot execute binary file > > What could be the problem here? Anyone else having problems with fetchmail? Cron doesn't run like that. Cron runs "sh -c" eg /bin/sh -c /usr/bin/fetchmail and that works just fine. $ cat /etc/redhat-release CentOS release 4.4 (Final) $ uname -sr Linux 2.6.9-42.0.10.EL $ /bin/sh -c /usr/bin/fetchmail fetchmail: no mailservers have been specified. -- rgds Stephen _______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos