I have a normal LAMP setup with Magento installed but the CRON isn’t working. Can someone tell me if the following command is right if cron.sh is located in /var/www/html/cron.sh
5 * * * * /bin/sh /var/www/html/cron.sh
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
The cronjob looks correct, yes. Does it work properly if you run it manually?
/bin/sh /var/www/html/cron.sh
mysql> select message_id, entity_type, created_at, processed_at from core_email_queue; ±-----------±------------±--------------------±-------------+ | message_id | entity_type | created_at | processed_at | ±-----------±------------±--------------------±-------------+ | 1 | order | 2015-11-15 20:28:02 | NULL | | 2 | order | 2015-11-15 21:15:02 | NULL | | 3 | order | 2015-11-15 22:00:37 | NULL | ±-----------±------------±--------------------±-------------+