Meng Weng Wong on Wed, 8 Jan 2003 12:51:09 -0500 |
i do -t STDIN On Wed, Jan 08, 2003 at 12:46:34PM -0500, Urb LeJeune wrote: | Is it possible for a Perl script to detect if it's running as a | background task? If running from the command line I want to | display progress messages, if running as a cron job I don't want | to print. I could pass a parameter when running as a cron job but | wanted to see if there was an easier way. | | Urb | | | - | **Majordomo list services provided by PANIX <URL:http://www.panix.com>** | **To Unsubscribe, send "unsubscribe phl" to majordomo@lists.pm.org** | - **Majordomo list services provided by PANIX <URL:http://www.panix.com>** **To Unsubscribe, send "unsubscribe phl" to majordomo@lists.pm.org**
|
|