You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are responsible for 70+ domains. I've built a cron job that scans these domains 2x/day to make sure nothing critical has been changed. I've got 2 problems. First, the WHOIS call takes - usually - something on the order of 2+minutes to return a result for each domain. Multiplied by 70+ domains, it takes the cron job almost 3.5 hours to run through all of the domains. Is there anything I can do to improve response time? Also the dates returned from one call to the next are almost always different. Difference can be anything from a few minutes to years. I would think those dates (created, updated, expires) should be relatively static.
For the record, doing a fairly vanilla call: $lookup = $whois->loadDomainInfo($domainList[$d]);
...and then parsing the dates: $created = date('Y-m-d H:i:s', $lookup->creationDate); $updated = date('Y-m-d H:i:s', $lookup->updatedDate); $expires = date('Y-m-d H:i:s', $lookup->expirationDate);
Any suggestions welcomed.
The text was updated successfully, but these errors were encountered:
We are responsible for 70+ domains. I've built a cron job that scans these domains 2x/day to make sure nothing critical has been changed. I've got 2 problems. First, the WHOIS call takes - usually - something on the order of 2+minutes to return a result for each domain. Multiplied by 70+ domains, it takes the cron job almost 3.5 hours to run through all of the domains. Is there anything I can do to improve response time? Also the dates returned from one call to the next are almost always different. Difference can be anything from a few minutes to years. I would think those dates (created, updated, expires) should be relatively static.
For the record, doing a fairly vanilla call:
$lookup = $whois->loadDomainInfo($domainList[$d]);
...and then parsing the dates:
$created = date('Y-m-d H:i:s', $lookup->creationDate); $updated = date('Y-m-d H:i:s', $lookup->updatedDate); $expires = date('Y-m-d H:i:s', $lookup->expirationDate);
Any suggestions welcomed.
The text was updated successfully, but these errors were encountered: