#!/usr/bin/perl // do some job. `ssh remotehost "sleep 30000"`; /backround job should run even after script exit. //contiue job execution exit;