Hi

Sorry to ask this on win32 perl list.

I have this script (below) I use on NT but i want to use this on Linux, on
NT I am logged in
and execute the script then minimize it - I then Lock the server. It then
loops through every 60 seconds and continues.

How can I do this on Linux - I SSH(Telnet) in execute the perl script but
then log out, how can I run this below
in the background being able to logout of the telnet session after it is
started and the script continues.

Thanks

Tony
PS I have looked for an answer

#!/usr/bin/perl -w

use strict;

START:;
my $notfound = 1;
while ($notfound) {
         my @files = glob "*.txt";
         for (@files) {
                 $notfound = 0;
                 system("mv *.txt /root/dns/");
}
         sleep(60) if $notfound;
}
goto START;


_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-admin

Reply via email to