Forcing the daily Cron

IMPORTANT! In order to be able to force the daily Cron, the PHP directive 'register_argc_argv' must be set to On.

 

If you want to force the WHMCS daily Cron to run to download TLDs and/or update eNom wholesale and local pricing, you can do so by appending --force to the existing Cron command.

This will force the daily Cron to run and perform all tasks as if they had not been run.

If you want to force the daily Cron to run and prevent it from running all scheduled tasks, you can use the following command:


php -q /home/[accountname]/[path_to_crons]/crons/cron.php --email-report=1 skip --CurrencyUpdateExchangeRates --CurrencyUpdateProductPricing --CreateInvoices --AddLateFees --ProcessCreditCardPayments --InvoiceReminders --DomainRenewalNotices --CancellationRequests --AutoSuspensions --AutoTerminations --FixedTermTerminations --CloseInactiveTickets --AffiliateCommissions --AffiliateReports --EmailMarketer --CreditCardExpiryNotices --UpdateServerUsage --OverageBilling --AutoClientStatusSync --UpdateDomainExpiryStatus --TicketEscalations --CheckForWhmcsUpdate --DatabaseBackup --force


[accountname] is your account name for your WHMCS hosting and [path_to_crons] is the path if you have moved the folder 'crons' above the doc root for security.

  • WHMCS, Daily Cron
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Can't change max_execution_time from 300

If you have WHMCS installed and attempt to change the value of max_execution_time via the PHP INI...

v7.6.0 - eNom module nameserver hotfix

There has been an issue identified in WHMCS version 7.6.0 whereby, with the eNom registrar module...