TurnKey Linux Virtual Appliance Library

CRON in Magento not Running "Permission Denied"

larnold's picture

Trying to Run CRON in www/magento  (upgraded to 1.6.2 in TKL 11.2)


When I am in WEBMIN scheduling a CRON Job (cron.php or cron.sh) I am getting


Output from command /var/www/magento/cron.php ..

Output from command /var/www/magento/cron.sh..

/bin/sh: /var/www/magento/cron.php: Permission denied

I have tried to run as both Root and as www-data with no change.


How can I get these to run either manually from within WEBMIN and ideally regularly from the Magento Cronjobs schedule?  The following is within Magento, but I am getting feedback that CRON is not running.

For correct URLs generated during cron runs please make sure that Web > Secure and Unsecure Base URLs are explicitly set.
Generate Schedules Every [STORE VIEW]  
Schedule Ahead for [STORE VIEW]  
Missed if Not Run Within [STORE VIEW]  
History Cleanup Every [STORE VIEW]  
Success History Lifetime [STORE VIEW]  
Failure History Lifetime [STORE VIEW]

Any thought on this?

thank you,

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <strike> <caption>

More information about formatting options

Leave this field empty. It's part of a security mechanism.
(Dear spammers: moderators are notified of all new posts. Spam is deleted immediately)