Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Backgrounding a scheduled task

by sgifford (Prior)
on Aug 06, 2006 at 14:28 UTC ( #565854=note: print w/replies, xml ) Need Help??


in reply to Backgrounding a scheduled task

You could try having a very small perl script which simply ran:
system(1,"/path/to/real/script.pl");
On Windows, the leading 1 should cause the script to run in the background, and your foreground script can immediately exit. Untested, but worth a try anyways...

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://565854]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (7)
As of 2022-05-16 15:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (63 votes). Check out past polls.

    Notices?