Jump to content

domain sync cron issue


Chris74

Recommended Posts

Hi I've just imported our customers from a different system and I'm having a few problems.

 

Firstly, it seems that there were quite a few domains in our old system that had been moved away, but were still in the database. These got imported into WHMCS. When the cron ran, it generated a load of invoices for these domains with the due date of 00/00/0000.

 

So I can easily identify and remove the invoices, based on their due date - but there are too many of them to view each invoice manually and delete each domain.

 

The importer script seems to have set all domains to auto invoice.

 

So there are a couple of things I need to do.

 

1. Set all domains in the database to not auto invoice. We can then ask the customers to switch that on if they want. Does anyone know the mysql syntax to do that in a query?

 

2. I'd like to identify the domains that shouldn't be there. It seems the domainsync cron can identify these, but it doesn't do anything about them. You'd think it would simply add a to do item to investigate each domain that cannot be found at the registrar - or set the domain to some status so that it can be easily identified. It doesn't seem to do anything.

 

Does anyone know how I can clean this up?

 

I'd really appreciate your advice. Thank you.

Edited by Chris74
Link to comment
Share on other sites

In the end I ran the domainsync cron every minute until it had been through all domains. I then then searched the report emails for the word "Error:" and manually copy pasted all the errored domains into a list. That was the only way I could find to do it.

 

It would be good if WHMCS could create a "To Do" item if it finds a domain that errored during the domain sync cron - then we could be prompted to investigate these, instead of having to look at the cron report manually.

Link to comment
Share on other sites

  • 9 months later...

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