crontab : exec, permission denied
ico
ico at beke.info
Tue Jul 1 12:10:16 PDT 2003
Dna Tue, Jul 01, 2003 at 10:25:35AM -0400, Lowell Gilbert spisal(a) :
>> I added to /etc/crontab this line:
>>
>> */5 * * * * user1 /usr/local/bin/getmail \
>> -r /usr/home/user1/.getmail/getmailrc
>>
>>
>> I wanted getmail to pick-up mail for user user1. Result is error:
>> exec: :permission denied
>>
>> $ls -l /usr/local/bin/getmail
>> r-xr-xr-x 1 root wheel 328 Jun 22 07:41 /usr/local/bin/getmail*
>>
>> I also tried to create user1's crontab ( su user1; crontab -e ) . Result is the
>> same. What's wrong?
>
>Does it work from the command line?
>The following works fine for me from my user crontab:
>
>6 6 * * 1-7 /usr/local/bin/fetchmail -s
>
Yes, it works from command line. I'm doing it now that way.
--
*ico beke*
ico(at)beke.info
More information about the freebsd-questions
mailing list