Add domain from domain list file. How? - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Support Area (/forum-30.html) +--- Forum: Usage (/forum-34.html) +--- Thread: Add domain from domain list file. How? (/thread-11782.html) |
Add domain from domain list file. How? - bsn - 09-30-2010 04:27 PM Hello! How add domain from file? File like this dom1.com dom2.com ... dom100.com and etc Thanks. RE: Add domain from domain list file. How? - bsn - 09-30-2010 07:21 PM I found solution. INSERT INTO domain VALUES (64,'test.su',0,0,69,2,1285833429,0,0,10,5,0,5,5,'to_add',0,0,1,0,0,'yes','no','full','no'); INSERT INTO admin VALUES (69,'test.su',md5('Password'),'user',1285833429,'',2,'','','','','','','','','admin911@mai l.ru','','','','',NULL,NULL); and run /var/www/ispcp/engine/ispcp-rqst-mngr It's all 69 = max admin_id value + 1 from admin table 64 = max domain_id value + 1 from domain table RE: Add domain from domain list file. How? - vanshyr - 09-30-2010 09:15 PM MM i think there is a CLI file, for send comands to ispcp, you should parse each line of your domain list file (for example with linux comands like 'cat, grep, awk...') and call the CLI with the config you want for each domain. I think is better than do an DB update manually... RE: Add domain from domain list file. How? - sci2tech - 10-01-2010 02:59 AM toadd not to_add |