in reply to Starting a new process (fork?)

If you have a perl script that just performs the backup you could just "system" the script in background
#!/usr/bin/perl -w use strict; use CGI; my $page = new CGI; print $page->header(); print $page->start_html(); my $command = qq(script/that_performs/the/basckup.pl &); system ($command); print qq(Finished); print $page->end_html();
Hope this helps.

Replies are listed 'Best First'.
Re: Re: Starting a new process (fork?)
by DarkBlue (Sexton) on Apr 17, 2001 at 13:50 UTC
    Perfect! Why the hell didn't I think of that? Thanks mate.

     

    In theory, there is no difference between theory and practise.  But in practise, there is.
     
    Jonathan M. Hollin
    Digital-Word.com