• 793
  • More

Cron job command for update

Dear una suppport:

         I can not update from studio,i think it is the cron job problem,my hosting can add cron job by a form,please watch the image i uploaded,i pick every mins,and what command should i type in then?


     i had tpye in this" MAILTO=myaccount * * * * * /usr/bin/php -q /home/mypacth/public_html/periodic/cron.php"      but not worked,

Replies (3)
    • Hello king !

      You may leave it on this part there:

      /usr/bin/php -q /home/mypacth/public_html/periodic/cron.php

      • If cron doesn't work, you should probably specify the command like this: /opt/php/5.6/bin/php -q /var/www/hosting username/data/www/your domain/periodic/cron.php this is how I registered the command on my hosting, everything works fine.

        • /usr/bin/php -q /home/mypacth/public_html/periodic/cron.php this worked thank you very much!

          Not logged in users can't 'Comments Post'.
          king
          •  ·  Premium
          • 1195 views
          2
          1
          1