Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Reminder program

by jeroenes (Priest)
on Oct 01, 2001 at 20:14 UTC ( #115895=note: print w/replies, xml ) Need Help??


in reply to Reminder program

Are you sure your sub-scripts close at all?

You always can try forking, to fork them off and run for themselves. Another Good Thing is Proc::Daemon.

HTH,
Jeroen
"We are not alone"(FZ)

Replies are listed 'Best First'.
Re: Re: Reminder program
by bsdbudha (Initiate) on Oct 01, 2001 at 20:22 UTC
    well the way i've thought it up, the scripts aren't supposed to close at all.. they: print "go wash your car"; for (;;){ sleep 1209600; print "go wash your car"; } #instead of "go wash your car", its `cat sched.lst` and there is 4 scripts like this that get kicked off within the main script; if possible i want to execute simulatanously.
      The only way you can pull that off is by forking your scripts. Otherwise they will hang the calling script.

      Of course there are terminal issues, so make sure all the scripts are run in the background, otherwise there is only one script that can print. Also mind you the buffering of your OS.

      It is probably better to keep it all in one script.

      Cheers,

      Jeroen

      PS: You can use simple HTML tags and the CODE tag in your posts.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://115895]
help
Chatterbox?
[ww]: OTOH, -- for ads suggesting that being good at games is somehow eq "greatness"
[ambrus]: 1nickg: obviously the gamers don't know. but anyway, I need the whole room backlit, because watching a monitor in a dark room (like many people do) is tiring for my eyes, even more so than doing it in a lit room.
[1nickt]: ambrus I agree. I suspect one's eyes are always trying to adjust across the boundary between very bright and very dark ... like a camera's autofocus struggling to choose the target.

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (15)
As of 2017-03-27 13:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (320 votes). Check out past polls.