Announcement

Collapse
No announcement yet.

Magento and cron jobs

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

  • skhristich
    replied
    > 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.

    Leave a comment:


  • sqh
    replied
    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

    Leave a comment:


  • skhristich
    replied
    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!

    Leave a comment:


  • wendymarshall753
    replied
    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

    Leave a comment:


  • skhristich
    replied
    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.

    Leave a comment:


  • ochoasamuel1960
    replied
    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?

    Leave a comment:


  • morten
    replied
    I also see some hosting companies does say that cron.sh should be changed like this:



    Is that issue fixed in cagefs?

    Leave a comment:


  • noyearzero
    started a topic Magento and cron jobs

    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......
Working...
X