• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

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