hkhost Posted January 31, 2020 Share Posted January 31, 2020 Hello Is there any option or database query command to synchronize a domains' due date to its expiration date? Thanks! 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted January 31, 2020 Share Posted January 31, 2020 3 hours ago, hkhost said: Is there any option or database query command to synchronize a domains' due date to its expiration date? other than using the domain sync option - which is only valid if the registrar supports the functionality. if you just wanted to run a query to make ALL of the next due dates the same as the expiry dates... UPDATE tbldomains SET nextduedate = expirydate if it was for a specific domain or status, then you would add a where statement... UPDATE tbldomains SET nextduedate = expirydate WHERE domain = 'whmcs.com' though if it were a specific domain, i'd just manually edit the values in the database rather than run a query. 🙂 as ever with these queries, always remember to take a database backup before running them - because there is no undo option after it has been ran! ⚠️ 0 Quote Link to comment Share on other sites More sharing options...
twhiting9275 Posted February 4, 2020 Share Posted February 4, 2020 Also , keep in mind that this is really not that advisable. Keep the domain due date earlier than expiration date, in order to ensure that there are no issues with renewing domains (ie: client pays late). 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.