nginx ユーザーが次のコマンドを 5 分間隔で実行するように設定しました。
sh /var/www/magento/cron.sh
これはしばらくの間、かなりうまく実行されました。先月かそこらで、メモリの制限により、毎回エラーが発生し始めました。メモリの上限を増やしましたが、上限に達しただけです。もっと大きな問題があるに違いないようです。エラーは一貫して次のとおりです。
Fatal error: Allowed memory size of 262144 bytes exhausted
(tried to allocate 7680 bytes) in /var/www/magento/app/Mage.php on line 589
以下は、magento が 5 分ごとに実行するように設定した cron です。
job: xmlconnect_notification_send_all
model: xmlconnect/observer::scheduledSend
file: /var/www/magento/app/code/core/Mage/XmlConnect/etc/config.xml
job: newsletter_send_all
model: newsletter/observer::scheduledSend
file: /var/www/magento/app/code/core/Mage/Newsletter/etc/config.xml
job: enterprise_staging_automates
model: enterprise_staging/observer::automates
file: /var/www/magento/app/code/core/Enterprise/Staging/etc/config.xml