WHMCS has a "Maintenance mode" option, that will prevent your customers from accessing the Client Area and display the Maintenance Mode Message (or redirect to another URL, if you enter a Maintenance Mode Redirect URL.

This option is very useful anytime you need to do maintenance, that's to say:

  • update of WHMCS core
  • update or install of add-on modules, or Registrars module, or whatsoever
  • full system backup

because it prevents the danger of issues if you're uploading new parts of code, and in the meanwhile a customer makes some kind of operation that requires that very same code...

But the Maintenance mode of WHMCS does not stop cron jobs, that are going on running during your maintenance activity.

This is no good, because the running of cron jobs during maintenance may cause issues too.

To stop cron jobs during maintenance you can use related CLI commands in SSH, or use the related management function available in your control panel: but this way is annoying, time-consuming and far from being error-proof.

There's another way to temporarily stop cron jobs: simply rename your /crons directory (i.e. renaming it as /cronsSTOPPED )

This will prevent any WHMCS cron job to run during your maintenance; after the end of maintenance activity, simply rename back tour directory /cronsSTOPPED to /crons, and everything will run fine again.

 

Found this article interesting?
Subscribe to DomainRegister´s newsletter!

You can unsubscribe at any time by simply clicking the link in the footer of our emails. For information about our privacy practices, please visit our website.

We use Mailchimp as our marketing platform. By clicking below to subscribe, you acknowledge that your information will be transferred to Mailchimp for processing. Learn more about Mailchimp s privacy practices here.

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

Related Articles

 How to add a favicon in WHMCS

To add a favicon to your WHMCS install: copy your favicon (es. myfavicon.ico) in WHMCS folder...

 How to comment in template (.tpl) files

If you need to insert a comment in a .tpl file, or comment a block of code to disable it, you...

 How to insert a Youtube video in WHMCS knowledgebase article

To insert a YouTube video in an article of the WHMCS knowledge base, you need to insert following...

 How to disable a customer to pay invoices partly with credit balance

in WHMCS if a customer has not enough credit balance for full payment of an invoice, WHMCS allows...

 How to add a cookie bar to WHMCS

In order to add a cookie bar to your own installation of WHMCS: copy somewhere on your WHMCS...