Jump to content

FreeBSD Cron: "exec: permission denied"


 Share

Recommended Posts

Hi,

 

Yes, I know that FreeBSD != linux, but as far as I know cron should be very similar on the two platforms. I had this type of setup running under Mandrake, but I have since had to switch this server over to FreeBSD.

 

$ crontab -l
* * * * * /usr/local/bin/getmail

 

As far as I understand cron, this should run getmail every minute as the user and send any errors or output to the user via mail. What I get in the mail is:

 

"exec: : Permission denied"

 

Yet, I can run /usr/local/bin/getmail manually without a problem. Permissions are +x for user, group, and other.

 

Any ideas would be appreciated. Thanks!

 

--Andrew

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...