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.

List of WHM /scripts and /scripts2

Discussion in 'General Discussion' started by hamerr, Sep 24, 2007.

  1. hamerr

    hamerr Member

    Joined:
    Sep 18, 2007
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Excuse me but how can I get a list of the scripts in WHM 11.2.0?Can someone help me with that? Thanks in advance.
     
    #1 hamerr, Sep 24, 2007
    Last edited: Sep 24, 2007
  2. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,460
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    Most of those are not references to physical scripts (such as in the /scripts directory) but calls into an internal binary.
     
  3. hamerr

    hamerr Member

    Joined:
    Sep 18, 2007
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    I know that... But I still need them.And I need them so bad....
     
  4. 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
    I would recommend using our various APIs where possible. If you are adding new functionality to cPanel, you would likely use API2. If you are building a script to manipulate cPanel/WHM, you would likely use the XML-API and the XML-API with embedded API2 to fill in the gaps with that API.

    You can find documentation for all of this at:

    http://www.cPanel.net/plugins/devel
     
  5. hamerr

    hamerr Member

    Joined:
    Sep 18, 2007
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    cd scritps
    ls
    ----------
    cd scripts2
    ls
    ----------

    is it that difficult ???
     
  6. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,460
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    If you really, really want that information it is available on your own server. Any custom solutions created using such means is not guaranteed to work in perpetuity, please using the various script APIs instead, as David pointed out earlier.
     
  7. Gavster

    Gavster Active Member

    Joined:
    Apr 3, 2002
    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    1
    speakin of api . . .

    Speaking of API2 - can it be extended to:

    - List detailed info about a user's account? For instance, list addon domains, list parked domains, number of x used out of quota of y? (for example, 2/5 mysql dbs)

    The current API seems somewhat lacking in this respect - for example, from what I saw with API2 you can add an addon domain with it - but you cannot list a users addon domains, nor remove an addon domain.

    Any plans to include this level of functionality?
     
Loading...

Share This Page