[Chicago-talk] writing a log with Cron, Daemons, Perl

Paul Baker pbaker at where2getit.com
Thu Sep 11 21:54:31 CDT 2003

On Thursday, September 11, 2003, at 09:40  PM, Jay Strauss wrote:

> Steve,
> Why do you do the -t test?  And which file is it testing that it's 
> opened to
> a tty?

It's testing if the current process is running from a tty (meaning from 
an interactive console, and not from cron or an rc.d init script)

Paul Baker

"Reality is that which, when you stop believing in it, doesn't go away."
          -- Philip K. Dick

GPG Key: http://homepage.mac.com/pauljbaker/public.asc

More information about the Chicago-talk mailing list