Announcement

Collapse
No announcement yet.

Magento and cron jobs

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Magento and cron jobs

    Hello, Does anyone actually have all Magento crons and how they should be setup on alt-php from Cloudlinux? We often have customers having issues with cron and for Magento 1.9 and Magento 2.x they are different. I also checked this: https://cloudlinux.zendesk.com/hc/en...P-from-cronjob But that didnt work either......

  • #2
    I also see some hosting companies does say that cron.sh should be changed like this:
    https://www.ecenica.com/support/answ...loudlinux-php/
    https://my.edgehosting.uk/knowledgeb...t-working.html

    Is that issue fixed in cagefs?

    Comment


    • #3
      Hello everyone, I have a question. I am starting to create the cron job using php bin/magento cron:install [--force] But as a result I get Magento supports 7.0.2, 7.0.4, and 7.0.6 or I use 7.1.19 Someone faced such a problem, can help? I already tried everything, but I could not find a solution, Ill throw off similar topics below: https://stackoverflow.com/questions/...on-job-problem https://rocketpayz.com/online-gambli...e-gambling-uk/ https://community.magento.com/t5/Ins...ling-magento-2 Any ideas?

      Comment


      • #4
        Hello Jason,
        Thank you for reaching out! If you use our selector then try specifying instead of php this:
        /opt/alt/php70/usr/bin/php
        If you have any other questions, feel free to ask here. Thank you for contacting us.

        Comment


        • #5
          How to configure Magento cron job. Сron job is an important component for correct Magento performance. It is widely used for running actions that are performed on schedule, such as indexing and caching, sitemap generation, currency rate updates, and many more as well

          Comment


          • #6
            Hello Agema,
            With this question, you will find useful information here https://magento.com/technical-resources
            Please let us know if you have any questions.
            Thanks in advance!

            Comment


            • #7
              It seems strange that if the user chooses a certain PHP version in "PHP Selector" in cPanel, that when they run PHP via command line, it would not automatically use that same version of PHP? If I choose PHP 7.4 in "PHP Selector", why do I also have to use /opt/alt/php74/usr/bin/php in my crons, instead of just /usr/local/bin/php or php?

              - Scott

              Comment


              • #8
                > It seems strange that if the user chooses a certain PHP version in "PHP Selector" in cPanel, that when they run PHP via command line, it would not automatically use that same version of PHP? If I choose PHP 7.4 in "PHP Selector", why do I also have to use /opt/alt/php74/usr/bin/php in my crons, instead of just /usr/local/bin/php or php?
                >
                > - Scott

                Hello Scott,
                Thank you for reaching out! In this case, on cPanel you can specify the full path of PHP without specifying the path to our binary and then the required version will be called because in Cagefs the call to PHP will lead to the required version of PHP after several symlinks. Thank you for contacting us.

                Comment

                Working...
                X