Jump to content

Sync Domain Name Expiry Date


Recommended Posts

Hi

"Tick this box if you want the expiry date sync script to update the expiry and next due dates (cron must be configured)"

 

Does there need to be a tick box when you also need to run the cron?

 

Surely there is no point in having to tick the box as well.

 

Ben

Link to comment
Share on other sites

  • 2 months later...

A) Good point Redsign.... why both a tickbox and a cron? Not a problem, but just currious what the tickbox is doing then?

 

B) This is my actual question - when I run the sync manually, I see it checking every domain, but I have a couple 'Error for somedomain.com: Domain name not found'.

 

The question is - is there a report somewhere, or an option to remove those domains from my WHMCS database?

Link to comment
Share on other sites

  • WHMCS CEO

The tick box is for if you want to update the next due date also - by default the "Domain EXPIRY Sync Script" will only update the expiry date field.

 

The file is designed to run as a cron, and outputs the results to the screen, so you would set your server to email you the cron output so you have a record of what was done and can take action on the domains which no longer exist in your Enom account.

 

Matt

Link to comment
Share on other sites

  • 4 weeks later...

This is really great and useful script but I just have a question and suggestion about it...

 

This script in it's output is showing for every domain "Updated domain.ext expiry to XX/XX/200X". Does this script really update every expiration date field in the database for every domain? Why is it showing "Updated..." for every domain? I would suggest this to be changed so script can first just compare dates, and if date is the same just to skip that domain and does not output anything about it, because this output is useless this way if you have few thousand domains, and also there is no reason to update all expiration dates in the database. So it would be nice to output really only what was different and what is changed, and of course any errors - domains that does not exist or that are in redemption period etc.

Link to comment
Share on other sites

  • 2 weeks later...
  • 3 years later...
This is really great and useful script but I just have a question and suggestion about it...

 

This script in it's output is showing for every domain "Updated domain.ext expiry to XX/XX/200X". Does this script really update every expiration date field in the database for every domain? Why is it showing "Updated..." for every domain? I would suggest this to be changed so script can first just compare dates, and if date is the same just to skip that domain and does not output anything about it, because this output is useless this way if you have few thousand domains, and also there is no reason to update all expiration dates in the database. So it would be nice to output really only what was different and what is changed, and of course any errors - domains that does not exist or that are in redemption period etc.

 

 

We dont know how it operates, we cant see the source, however i think its likely to prevent further output checks it just states all as updated, but probably does not actually update each and every entry. After all

 

if value1 !== value2 would be fast enough and simple enough to omit an update.

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.

  • 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