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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...