ispman/tasks execVhostActions_task.pl,NONE,1.1.2.1

Joerg Delker <[email protected]> Sat, 03 Jan 2009 15:57:01 +0000
Newsgroups gmane.comp.isp.ispman.cvs
Message-ID <[email protected]>
Update of /cvsroot/ispman/ispman/tasks
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv23005/tasks

Added Files:
      Tag: rel_1_4-bugfixes
	execVhostActions_task.pl 
Log Message:
added missing execVhostAction tasks

--- NEW FILE: execVhostActions_task.pl ---
sub execVhostActions_task {
    my $params = shift;

    unless ( $params->{'ispmanDomain'} ) {
        print STDERR "ispmanDomain not defined. Cannot continue\n";
        return 0;
    }
    unless ( $params->{'script'} ) {
        print STDERR "script not defined. Cannot continue\n";
        return 0;
    }

    push @cmd, $ispman->getConf("installDir")."/tasks/".$params->{'script'}
             . " " . $params->{'uidNumber'};
}


------------------------------------------------------------------------------