ispman/tasks DeleteVirtualHost_task.pl,NONE,1.1

Atif Ghaffar <[email protected]>
Newsgroups gmane.comp.isp.ispman.cvs
Message-ID <[email protected]>
Update of /cvsroot/ispman/ispman/tasks
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25882

Added Files:
	DeleteVirtualHost_task.pl 
Log Message:
Quick example of a task

--- NEW FILE: DeleteVirtualHost_task.pl ---
#!/usr/bin/perl
sub DeleteVirtualHost_task {
   my ($domain, $vhost)=@_;
   my @cmd=();
   
   push @cmd, "perl $FindBin::Bin/ispman.deletevhost -d $domain -vhost";
   push @cmd, "/usr/sbin/apachectl restart";
   
   executeCommands(@cmd);


}



-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.