CyberPanel Community

help me - whmcs cron job is not working

19 replies
Bo
Bossmanuk #2

Hi there,
Try the following below, where it says lsphp73 change the 73 for the version of php you are using for your WHMCS. Also where it says your domain name put in the domain name for the website.

/usr/local/lsws/lsphp73/bin/lsphp -q /home/your domain name/public_html/billing/crons/cron.php >/dev/null 2>&1

Thanks

Bossmanuk

ph
phamvanhoai #3

Type your comment> @Bossmanuk said:

Hi there,
Try the following below, where it says lsphp73 change the 73 for the version of php you are using for your WHMCS. Also where it says your domain name put in the domain name for the website.

/usr/local/lsws/lsphp73/bin/lsphp -q /home/your domain name/public_html/billing/crons/cron.php >/dev/null 2>&1

Thanks

Bossmanuk

still doesn’t work

ph
phamvanhoai #4

has been successful thank you

x3
x3inspire #5

Type your comment> @phamvanhoai said:

Type your comment> @Bossmanuk said:

Hi there,
Try the following below, where it says lsphp73 change the 73 for the version of php you are using for your WHMCS. Also where it says your domain name put in the domain name for the website.

/usr/local/lsws/lsphp73/bin/lsphp -q /home/your domain name/public_html/billing/crons/cron.php >/dev/null 2>&1

Thanks

Bossmanuk

still doesn’t work

Hi, can help please?

Imgur

Imgur

x3
x3inspire #6

Type your comment> @phamvanhoai said:

has been successful thank you

May i know how do you fix?

ma
mansfieldweb #8

Seems pretty dead on here x3inspire. Think I’ve made my mind up whether or not to even bother looking at cyberpanel. The demo is always down - not a great advertisement.

us
usmannasir #9

@x3inspire can you first try to run your exact command from command line and see if there is no error?

x3
x3inspire #10

@usmannasir

There is no error when i run this command from terminal

/usr/local/lsws/lsphp74/bin/lsphp -q /home/billing.mydomain.com/public_html/crons/cron.php >/dev/null 2>&1

The status and Cron Invocation Frequency now is changed, however Daily Cron Run and Daily Cron Completing still not completed

Cron command line:

us
usmannasir #11

What happens if you run

/usr/local/lsws/lsphp74/bin/lsphp -q /home/billing.mydomain.com/public_html/crons/cron.php

us
usmannasir #13

@x3inspire and if you run the above command, WHMCS reports that cron job ran? I mean the last run time for cron job updates?

us
usmannasir #15

can you tell me your OS?

x3
x3inspire #16

@usmannasir
Distributor ID: Ubuntu
Description: Ubuntu 20.04.2 LTS
Release: 20.04
Codename: focal

us
usmannasir #17

do this on your terminal

systemctl restart cron

us
usmannasir #19

It should be working now.

Sign in to reply