purus has asked for the wisdom of the Perl Monks concerning the following question:
Hello guys, I want to run some process in the background even after script exit. how do i achieve this?
#!/usr/bin/perl // do some job. `ssh remotehost "sleep 30000"`; /backround job should run even after s +cript exit. //contiue job execution exit;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How to run process in the backround even after perl script exit?
by 1nickt (Canon) on Apr 10, 2020 at 16:27 UTC | |
|
Re: How to run process in the backround even after perl script exit?
by Corion (Patriarch) on Apr 10, 2020 at 16:39 UTC | |
by purus (Initiate) on Apr 10, 2020 at 16:56 UTC | |
|
Re: How to run process in the backround even after perl script exit?
by hippo (Archbishop) on Apr 11, 2020 at 10:07 UTC |