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
1 comment
  • mysql> select messageid, entitytype, createdat, processedat from coreemailqueue;
    +————+————-+———————+————–+
    | messageid | entitytype | createdat | processedat |
    +————+————-+———————+————–+
    | 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 |
    +————+————-+———————+————–+

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.

×
1 answer

The cronjob looks correct, yes. Does it work properly if you run it manually?

/bin/sh /var/www/html/cron.sh
Submit an Answer