mt2k has asked for the wisdom of the Perl Monks concerning the following question:
Will the OS quit the script eventually. If it does time out, is there a way to stop that from happening?#!/usr/bin/perl $| = 1; print qq|...|; #PRINT HEADERS, ETC. while (1) { #CODE THAT READS #IN DATABASE STUFF #AND OUTPUTS IT TO STDOUT sleep 5; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Running Perl Continuously
by dws (Chancellor) on Dec 15, 2001 at 00:05 UTC | |
|
Re: Running Perl Continuously
by dws (Chancellor) on Dec 15, 2001 at 08:42 UTC | |
|
Re: Running Perl Continuously
by jerrygarciuh (Curate) on Dec 15, 2001 at 00:24 UTC | |
|
Re: Running Perl Continuously
by mt2k (Hermit) on Dec 15, 2001 at 01:12 UTC | |
by mr.dunstan (Monk) on Dec 15, 2001 at 07:04 UTC | |
|
Re: Running Perl Continuously
by atcroft (Abbot) on Dec 15, 2001 at 08:31 UTC | |
|
Re: Running Perl Continuously
by strat (Canon) on Dec 17, 2001 at 16:57 UTC | |
|
Re: Running Perl Continuously
by 2501 (Pilgrim) on Dec 15, 2001 at 00:01 UTC |