Jump to content

pls help Cron job not working


HOSKIA INDIA

Recommended Posts

1 minute ago, Remitur said:

Where did you see that cron stopped?
In your logs there're a number of activitied done by cron (i.e. currency change update)

there are many more need to run like Invoice & Overdue Reminders Overdue Suspensions, Overdue Terminations etc but not run for last 3 days 

 

2 minutes ago, Remitur said:

There're also a number of undelibered messages because your email server is blacklisted... 😕

 

the log from module i am using 

Link to comment
Share on other sites

Our cron job doesn't complete either. I see this in the error_log:

[29-Aug-2019 00:00:21 Europe/Copenhagen] [WHMCS Application] ERROR: Error: Call to a member function isCreditCard() on null in /home/username/public_html/includes/ccfunctions.php:0 Stack trace: #0 /home/username/public_html/includes/ccfunctions.php(0): captureCCPayment(11256) #1 /home/username/public_html/vendor/whmcs/whmcs-foundation/lib/Cron/Task/ProcessCreditCardPayments.php(0): ccProcessing(Object(WHMCS\Cron\Task\ProcessCreditCardPayments)) #2 /home/username/public_html/vendor/whmcs/whmcs-foundation/lib/Scheduling/Task/AbstractTask.php(0): WHMCS\Cron\Task\ProcessCreditCardPayments->__invoke() #3 /home/username/public_html/vendor/whmcs/whmcs-foundation/lib/Scheduling/Task/AbstractTask.php(0): WHMCS\Scheduling\Task\AbstractTask->execute() #4 /home/username/public_html/vendor/whmcs/whmcs-foundation/lib/Cron/Console/Command/AbstractCronCommand.php(0): WHMCS\Scheduling\Task\AbstractTask->run() #5 /home/username/public_html/vendor/whmcs/whmcs-foundation/lib/Cron/Console/Command/AbstractCronCommand.php(0): WHMCS\Cron\Console\Command\AbstractCronCommand->executeCollection(Object(WHMCS\Scheduling\Task\Collection)) #6 /home/username/public_html/vendor/symfony/console/Command/Command.php(259): WHMCS\Cron\Console\Command\AbstractCronCommand->execute(Object(WHMCS\Cron\Console\Input\CliInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #7 /home/username/public_html/vendor/symfony/console/Application.php(844): Symfony\Component\Console\Command\Command->run(Object(WHMCS\Cron\Console\Input\CliInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #8 /home/username/public_html/vendor/symfony/console/Application.php(192): Symfony\Component\Console\Application->doRunCommand(Object(WHMCS\Cron\Console\Command\AllCommand), Object(WHMCS\Cron\Console\Input\CliInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #9 /home/username/public_html/vendor/symfony/console/Application.php(123): Symfony\Component\Console\Application->doRun(Object(WHMCS\Cron\Console\Input\CliInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #10 /home/username/whmcs/crons/cron.php(0): Symfony\Component\Console\Application->run(Object(WHMCS\Cron\Console\Input\CliInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #11 {main} {"exception":"[object] (Error(code: 0): Call to a member function isCreditCard() on null at /home/username/public_html/includes/ccfunctions.php:0)"} []

 

Link to comment
Share on other sites

1 hour ago, HOSKIA INDIA said:

there are many more need to run like Invoice & Overdue Reminders Overdue Suspensions, Overdue Terminations etc but not run for last 3 days

can you view recently generated invoices (as PDFs) without issue? that activity log looks like it's crashing after generating invoices.

https://help.whmcs.com/m/automation/l/683269-advanced-cron-troubleshooting

you could manually run the overdue cron jobs as separate tasks if you have to, but your best bet is to find the cause of this error.

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • 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