• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

IMPORTANT Help needed

A

atomicmak

Guest
I have one thing to know on Plesk Reloaded 7.5.3.

the overall domains tab shows listing of domains with creation date. Can it possible to have expiry date also display there ?


actually i more than 300 domains on my plesk and i would need to know the expiry date of all domins at once.

can anyone help me out for this ?
 
I don't see any way to do what you want in the CP. Maybe a direct query to the appropriate table in the database would get the info you want?

M
 
well i have downloaded sql of psa and looked for it but didnt find even
 
SQL Statement to pull Domain Expirations

The two main tables you need are 'domains' and 'Limits'. You'll need to join these guys in order to get the information you're after.

The following SQL code will pull the Expiration entry for every domain in your domains table (whatever is configured). A value of -1 means there is no limit (i.e. Unlimited is checked!).
Code:
select DOM.name, LIM.value
from psa.domains DOM, psa.Limits LIM
where (DOM.limits_id = LIM.id) and LIM.limit_name = 'expiration';
This should get you the information you're after!

Joe
 
Thanks a lot buddy.

+----------------------------+------------+
| name | value |
+----------------------------+------------+
| domain1.com | 1174329000 |
| domain2.com | 1142793000 |
| domain3.com | 1128882600 |
| domain4.com | 1128882600 |
| domain5.biz | 1175365800 |
| domain6.biz | 1175365800 |


can you tell me why i see this kind of value ?

does there any calculation to see the exact expiry date ?
 
domain1.com has this value set in controlpanel what it shows


Resource Used Allowed
Validity period June 10, 2005 Oct 1, 2005
 
I'm not sure on that one, but I'd bet it is a timestamp of some sort. I'd be interested to find out myself...

How about going into domain1.com, and extending their expiration date by 1 day? This would give you the delta for a full day, and would give you an idea of how much of a difference it makes.

When I get back to my machine, I'll take a look myself...

Joe
 
Back
Top