ispman/tasks NotifyUsers_task.pl,1.1,1.2

Joerg Delker <[email protected]>
Newsgroups gmane.comp.isp.ispman.cvs
Message-ID <[email protected]>
Update of /cvsroot/ispman/ispman/tasks
In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv27167/tasks

Modified Files:
	NotifyUsers_task.pl 
Log Message:
applying patch [ 1517858 ] notifyUsers

Index: NotifyUsers_task.pl
===================================================================
RCS file: /cvsroot/ispman/ispman/tasks/NotifyUsers_task.pl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- NotifyUsers_task.pl	30 Dec 2004 17:15:42 -0000	1.1
+++ NotifyUsers_task.pl	6 Jul 2006 21:30:33 -0000	1.2
@@ -1,13 +1,8 @@
-# Still to be done.
-# Write a CLI for this and then add a task
-
-sub NotifyUsers {
-    my ( $domain, $params ) = @_;
-
-    my $module = "$install_dir/lib/send_email_to_domain.lib";
-    do $module;
+# derjohn tried it:
 
-    &sendEmailToDomain( $ispman, $domain, $params );
+sub NotifyUsers_task {
+    my ( $domain, $messagefile ) = @_;
+    push @cmd, "perl $FindBin::Bin/ispman.notifyUsers -d $domain $messagefile";
     return 1;
 }
 


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
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.