Jump to content

Cron job not working


Recommended Posts

I already add the cron command, and it's working until I changed my server, after that they stop. 

You can see the below screenshot. 

So I try to run the cron job command on terminal, 

/usr/bin/php -q /home/username/public_html/clientarea/crons/cron.php all -F -vvv

Terminal give the error

[root@cloud ~]# /usr/bin/php -q /home/username/public_html/clientarea/crons/cron.php

Site error: the <a href="http://www.ioncube.com">ionCube</a> PHP Loader needs to be installed. This is a widely used PHP extension for running ionCube protected PHP code, website security and malware blocking.

 

Please visit <a href="http://get-loader.ioncube.com">get-loader.ioncube.com</a> for install assistance.

 

But IonCube Loder already installed and whmcs working. Please give any solution. 

Screenshot_2022-11-30-09-41-05-015_com.android.chrome.jpg

Link to comment
Share on other sites

Your local PHP (the one that runs WHMCS pages for admins and customers) is not the one that your server is using to run cron job. This other PHP doesn't have ionCube hence it is unable to run cron.php. Make sure this PHP is compiled with ionCube or use the other one.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated