Urb LeJeune on Wed, 8 Jan 2003 12:47:53 -0500


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Detecting Background


	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**