Jump to content

Domain syncing is performed in batches. When defined in your module, the Sync function will be called for 50 domains on a rolling basis each time the domain sync cron is invoked. Once all domains assigned to your module have been synced it will start from


KaiS

Recommended Posts

Can somebody tell exactly how domains are selected for the sync cron? The documentation at https://developers.whmcs.com/domain-registrars/domain-syncing/ states:

Quote

Domain syncing is performed in batches. When defined in your module, the Sync function will be called for 50 domains on a rolling basis each time the domain sync cron is invoked. Once all domains assigned to your module have been synced it will start from the beginning again.

I don't like to enable "Sync Next Due Date", due to some complications with my registrar module and the fact how we invoice our customers.

But from my observation it seems that domains are only synced if they are close to their "due date", is that correct?

 

Edited by KaiS
Link to comment
Share on other sites

6 minutes ago, KaiS said:

But from my observation it seems that domains are only synced if they are close to their "due date", is that correct?

if memory serves, they are just synced in domain ID order... and unrelated to expiry dates... though maybe that has changed in recent versions - though I don't use Domain Syncing.

Link to comment
Share on other sites

  • WHMCS Developer
3 hours ago, KaiS said:

But expired domains are not included in the cron?

That is correct. Only Active domains are included. There is no way to change the WHMCS supplied cron to sync expired domains. You could however update the domains status and then the sync will obtain the data for you.

Link to comment
Share on other sites

i'd recommend periodically checking your expired domains, either via clients -> domain registrations and filtering for "Expired", or by running the Domains report.... if you spot any that are expired that shouldn't be, you can change their status to Active and they would then be available to the domain sync script to synchronise.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • 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