>>>>> "lists" == lists  <[email protected]> writes:

>> Please copy the entire crontab entry here (no typing, I suspect you
>> have typos).  This message reads a bit like something is looking
>> for a binary called "bin/sh /usr/local/bin/arch".

lists> thanks, Amos

lists> crontab -e -u vmail

lists> 15 1 * * * /usr/local/bin/arch ---


lists> cat /usr/local/bin/arch 
lists> cd /var/mail/vhosts
lists> /usr/local/bin/archmail dom.tld ...more...

Add a #!/bin/sh at the start.  Otherwise a POSIX_compliant shell won't
necessarily run it -- cron uses /bin/sh not bash.

Make sure the mode of the file is 755 --- do 
     chmod +x /usr/local/bin/arch

Peter c
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to