User Tools

Site Tools


udropship:umarketplace:cron-setup

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
udropship:umarketplace:cron-setup [2016/01/15 07:37]
wtsergo
udropship:umarketplace:cron-setup [2017/05/19 19:08] (current)
Line 1: Line 1:
 +=== CRON SETUP ===
  
 +magento base setup here:\\
 +http://​devdocs.magento.com/​guides/​m1x/​install/​installing_install.html#​install-cron\\
 +but you need to configure your cron to be run using this command
 +
 +<​code>​
 +wget http://<​magento base url>/​cron.php
 +instead of
 +/​path/​to/​bash /​path/​to/​magento/​cron.sh
 +</​code>​
 +
 +also modify //​**cron.php**//​ add line
 +
 +<​code>​
 +$isShellDisabled = true;
 +</​code>​
 +
 +after
 +
 +<​code>​
 +$disabledFuncs = explode(',',​ ini_get('​disable_functions'​));​
 +$isShellDisabled = is_array($disabledFuncs) ? in_array('​shell_exec',​ $disabledFuncs) : true;
 +$isShellDisabled = (stripos(PHP_OS,​ '​win'​) === false) ? $isShellDisabled : true;''​
 +</​code>​
 +
 +it should be 
 +
 +<​code>​
 +$disabledFuncs = explode(',',​ ini_get('​disable_functions'​));​
 +$isShellDisabled = is_array($disabledFuncs) ? in_array('​shell_exec',​ $disabledFuncs) : true;
 +$isShellDisabled = (stripos(PHP_OS,​ '​win'​) === false) ? $isShellDisabled : true;
 +$isShellDisabled = true;
 +</​code>​
udropship/umarketplace/cron-setup.txt · Last modified: 2017/05/19 19:08 (external edit)