# Magento cronジョブの設定

**URL:** <https://forum.ficusonline.com/t/magento-cron/55>\
**Category:** WEB Design\
**Created:** [2016 年 12 月 7 日午前 8:48 UTC](https://forum.ficusonline.com/t/magento-cron/55 "2016-12-07T08:48:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tk-fuse](https://forum.ficusonline.com/user_avatar/forum.ficusonline.com/tk-fuse/32/255_2.png) [@tk-fuse](https://forum.ficusonline.com/u/tk-fuse)\
**Post date:** [2016 年 12 月 7 日午前 8:48 UTC](https://forum.ficusonline.com/t/magento-cron/55/1 "2016-12-07T08:48:39Z")

</div>

Magento1.9.1以降では、注文メールはクロンジョブにより一括送信処理されるようです。  
このため顧客が注文しても顧客の登録メールアドレス宛に即座に注文確認メールが送信されません。  
＜参考＞

> **[How data migration works | Adobe Commerce](https://experienceleague.adobe.com/en/docs/commerce-operations/tools/data-migration/how-migration-works)**
>
> Learn about the data migration process between Magento 1 and Magento 2, including terminology, workflow diagrams, and steps.

サーバのcrontabに5分毎に処理を行う様、設定を追加します。

> sudo crontab -e

`*/5 * * * * /bin/sh /var/www/html/magento/cron.sh`

設定が反映されていれば、データベースのcron\_scheduleテーブルのstatusがpendingからsuccessに変わります。
