The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How: Auto Expiration?

Discussion in 'General Discussion' started by arazas, Feb 13, 2008.

  1. arazas

    arazas Member

    Joined:
    Dec 7, 2007
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    I wish to auto shut the expired accounts on server, cpanel does not have any such functionality so i could not do this. Once i posted in this forum and recommendation was to install the billing software for cpanel/whm. After I found they are comprehensive products and not easy to use/install/troubleshoot.

    I just want to set the expiration of domains in WHM so when they complete their tenure they should be closed it self. Could you people advise what can i do this with minimum efforts?

    I dont need any billing system just to handle expiration of accounts.

    I would appreciate if you can give me a stable solution with product name as i am concerned about my server stability and security as well.
     
  2. rpmws

    rpmws Well-Known Member

    Joined:
    Aug 14, 2001
    Messages:
    1,824
    Likes Received:
    5
    Trophy Points:
    38
    Location:
    back woods of NC, USA
    you will need some sort of custom script to do this most likely. I doubt cpanel would ever include a feature like this. People have main domains expire all the time while parked domains still resolve to the same user account.
     
  3. arazas

    arazas Member

    Joined:
    Dec 7, 2007
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1

    It means there is no such script which can handle the auto expiration for WHM? Infect I cant write my own i m seeking for an open source.
     
  4. SageBrian

    SageBrian Well-Known Member

    Joined:
    Jun 1, 2002
    Messages:
    415
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    NY/CT (US)
    cPanel Access Level:
    Root Administrator
    I like that feature. A simple feature to suspend account at certain date.
    I wish I knew how to do something like that. I would also add a 'comments' field to an account, so notes about a certain domain can be kept for sysadmins to not any special conditions.
     
  5. arazas

    arazas Member

    Joined:
    Dec 7, 2007
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    SageBrian, I m too looking for that. I am not sure why WHM team cant handling this basic feature. Its hard to find the expired domains at the end of the year out of 500 domains and very difficult to do a manual job in this time of automation.

    I am using Plesk for my 17 servers, just moved towards Cpanel and amazed how they are dealing with it. Even they have no plan include this feature. What else you can expect,,,,
     
  6. xplodr

    xplodr Registered

    Joined:
    Mar 1, 2009
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Anyone have any luck finding something that can do auto suspension of accounts?
     
  7. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    One solution could be to have a daily cron job that runs a script that would determine which accounts need to be suspended on a specific day and uses the XML API to suspend those accounts.
     
  8. xplodr

    xplodr Registered

    Joined:
    Mar 1, 2009
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    I think it would take longer to maintain the script then it would a spreadsheet with the same information. :(

    Any idea why it isn't currently an option? Is there a way to submit feature requests?
     
  9. cpanelinfoseeker

    cpanelinfoseeker Well-Known Member

    Joined:
    Oct 25, 2002
    Messages:
    325
    Likes Received:
    3
    Trophy Points:
    18
    Location:
    NE Illinois
    cPanel Access Level:
    Root Administrator
    You are correct that manually keepng track of the users is quite time consuming. As there are MANY different billing software options available, and not everyone wants the same option, I am glad there is a choice available. I think WHM/cPanel is great software for handling the configuration of the sites, but I like my billing software, and others have different software that they like. There are many choices for billing software that has been designed to work with WHM, why make WHM into something that it was not designed to be?

    Manual book keeping and control seems to work for a few sites, but billing software makes the job a lot easier when you are talking about more than a few customers. It is just a matter of finding the software that you prefer for your site. Someone skilled in programming could make their own, but I know I am not that good!

    Ron
     
Loading...

Share This Page