Jump to content

Cron scripts - which are current and which can be deleted?


sohouk

Recommended Posts

I’m confused about theWHMCS Crons and what is needed and what is redundant.

Unfortunately the docs are not really clear and it would be helpful for me and maybe others to know what is required and what is not.

 

In the WHMCS docs there is a reference to domainsync.php as automatically checking and updating the Status and Expiry date of domains names against the domain registrar.

 

My confusion arises because I see that each registrar also has a cron script in their relevant folders.

For example for Enom this is: \whmcs\modules\registrars\enom\enomsync.php

 

The questions I seek the answers to are therefore:

  • Does the domainsync.php script undertake the updating the Status and Expiry date of domains names against the domain registrar?
  • Does it do this for multiple registrars we may be using ?
  • Are the individual cron scripts for each registrar redundant?

 

Finally, there is a general cron script that allows the automation features to run and sends out invoices etc. This is located at /whmcs/admin/cron.php and therefore is it safe to say that users of WHMCS need only the two basic cron scripts;

 

 

  1. The administrative script /whmcs/admin/cron.php
  2. The registrar script whmcs/crons/domainsync.php

 

Is my understanding of this correct ?

 

Trevor

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