Magento 1 cron undefined index error


1. Use /usr/local/bin/php instead of php, you can use which php to find the absolute path of php

2. Add $isShellDisabled = true; in cron.php as shown below

magento-1-cron-undefined-index-error