Hostingplan with time limit

Discussion in 'Installation/Configuration' started by smartcall, Dec 17, 2006.

  1. smartcall

    smartcall ISPConfig Developer ISPConfig Developer

    Hello again,

    I was wandering if it is possible to set up a hosting plan, which is limited in time. What I mean is to create a test hosting for free which should expire automatically after a certain amount of time, like 2 months.

    And if there is no such mechanism in ISPConfig, what would be the appropriate way of doing so with an external script?

    Regards,

    Apostol
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    There is no such feature in ISPConfig. You can either use the remoting framework or a simple way to suspend a site on your local server is to set the transfer limit of the site to 0 in the table isp_isp_web and let the data transfer limit feature disable your site.
     
  3. smartcall

    smartcall ISPConfig Developer ISPConfig Developer

    Date created

    Thank you for the superfast answer!
    Is there a date field corresponding to the site or user creation in the database? And if yes, in which table to look for it?

    Thanks again,

    Apostol
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    No, there is no timestamp in the database when the site is created. But you may look at the creation date of the directory /var/www/web[ID] of the site.
     

Share This Page