• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Setting Service plan for Subdomain via Command line interface

B

bastienger

Guest
Hello,

i am using the following commands to create customers, subdomains, webusers and then trying to set a subscription for that new subdomain but it doesnt work.

my $exec_command_customer = "/usr/local/psa/bin/customer --create $login -name \"$subdomain\" -passwd $pass -country CH -notify false 2>&1";

my $exec_command_domain = "/usr/local/psa/bin/subdomain --create $login -domain crypefree.org -ssi true -php true -perl true -ssl true 2>&1";

my $exec_command_webuser = "/usr/local/psa/bin/webuser --create $login -domain crypefree.org -passwd $pass -php true -quota 1024M";

my $exec_command_subscription = "/usr/local/psa/bin/subscription --add-subscription $login -service-plan CrypeFree";

Please tell me how to set up a subscription or service plan ( eg, CrypeFree with 1GB Space&Traffic ) for the subdomain "$subdomain".

many thanks in return,
Sebastian
 
Back
Top