Welcome Guest. Please Login or Register  


You are here: Index > Softaculous Auto Installer > General Support > Topic : Magento 1.9.1 cron.sh has wrong permissions



Threaded Mode | Print  

 Magento 1.9.1 cron.sh has wrong permissions (4 Replies, Read 16946 times)
chimark
Group: Member
Post Group: Newbie
Posts: 5
Status:
Just upgraded to Magento 1.9.1.  The new version relies more heavily on the Magento cron job, so a number of functions were not working correctly.  Looks like the installer set the cron.sh file as not executable.  Simple chmod +x cron.sh fixes the problem.
IP: --   

Magento 1.9.1 cron.sh has wrong permissions
Brijesh
Group: Softaculous Team
Post Group: Super Member
Posts: 5647
Status:
Hi,

Sir by default the permission for files is 0644 and we do not set executable permissions for cron.sh because we setup the CRON job with cron.php in the magento package hence cron.sh is not used.

Let us know if you have any questions.

-----------------------
Webuzo - Multi User Hosting Control Panel
AMPPS - Best WordPress/PHP/MySQL development tool
IP: --   

Magento 1.9.1 cron.sh has wrong permissions
chimark
Group: Member
Post Group: Newbie
Posts: 5
Status:
Quote From : Brijesh December 31, 2014, 7:17 am
Hi,

Sir by default the permission for files is 0644 and we do not set executable permissions for cron.sh because we setup the CRON job with cron.php in the magento package hence cron.sh is not used.

Let us know if you have any questions.


Sorry, didn't get notified of your reply, so just saw this.  With 1.9.1, the following commands are in cron.php:
shell_exec("/bin/sh $baseDir/cron.sh $fileName -mdefault 1 > /dev/null 2>&1 &");
shell_exec("/bin/sh $baseDir/cron.sh $fileName -malways 1 > /dev/null 2>&1 &");

So, while cron.php is enabled to run, if cron.sh is not executable, these commands in cron.php fail.
IP: --   

Magento 1.9.1 cron.sh has wrong permissions
Brijesh
Group: Softaculous Team
Post Group: Super Member
Posts: 5647
Status:
Hi chimark,

Thank you for pointing towards this.

We are making the changes in our package to set the cron.sh executable.

We will update the package by tomorrow.

-----------------------
Webuzo - Multi User Hosting Control Panel
AMPPS - Best WordPress/PHP/MySQL development tool
IP: --   

Magento 1.9.1 cron.sh has wrong permissions
Brijesh
Group: Softaculous Team
Post Group: Super Member
Posts: 5647
Status:
Hi,

We have launched the updated Magento package with the required changes.

You should get the update package via CRON.

Thank you for reporting the issue.

-----------------------
Webuzo - Multi User Hosting Control Panel
AMPPS - Best WordPress/PHP/MySQL development tool
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is April 16, 2024, 12:25 pm.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.019