in reply to background ftp transfers
but this won't make it a background task, just interruptable. oh, and if you're on a doze box alarm isn't implemented.# from perldoc perlipc eval { local $SIG{ALRM} = sub { die "alarm clock restart" }; alarm 10; # ftp op here alarm 0; }; if ($@ and $@ !~ /alarm clock restart/) { die }
larryk perl -le "s,,reverse killer,e,y,rifle,lycra,,print"
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: background ftp transfers
by zonem (Initiate) on Aug 10, 2001 at 16:20 UTC |