User Tools

Site Tools


udropship:umarketplace:cron-setup

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

wget http://<magento base url>/cron.php
instead of
/path/to/bash /path/to/magento/cron.sh

also modify cron.php add line

$isShellDisabled = true;

after

$disabledFuncs = explode(',', ini_get('disable_functions'));
$isShellDisabled = is_array($disabledFuncs) ? in_array('shell_exec', $disabledFuncs) : true;
$isShellDisabled = (stripos(PHP_OS, 'win') === false) ? $isShellDisabled : true;''

it should be

$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;
udropship/umarketplace/cron-setup.txt · (external edit)