overdue_notices.pl send no email directly to patron
[koha.git] / sms / sms_listen_windows_start.pl
blobb9f706b56bdfa5acc8d6b1a78a7f0c53d7fccff5
1 #!/usr/bin/perl
2 # script that starts the zebraqueue
3 # Written by TG on 01/08/2006
4 use strict;
6 use Win32::Process;
7 use Win32;
8 use C4::Context;
9 use CGI;
10 my $input=new CGI;
11 my $fileplace=C4::Context->config('intranetdir');
12 my $fullpath=$fileplace."/cgi-bin/sms";
13 my $ZebraObj;
14 my $pid=Win32::Process::Create($ZebraObj, "C:/perl/bin/perl.exe", 'perl sms_listen.pl', 0, DETACHED_PROCESS, $fullpath);
16 print $input->redirect("/cgi-bin/koha/mainpage.pl?pid=$pid");