*BSD News Article 50834


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!lll-winken.llnl.gov!noc.near.net!news.mathworks.com!newsfeed.internetmci.com!info.ucla.edu!galaxy.ucr.edu!corsa!not-for-mail
From: artchan@cs.ucr.edu (Arthur K. Chan)
Newsgroups: comp.unix.bsd.misc
Subject: cron/stdout pipe question
Date: 7 Sep 1995 20:31:46 GMT
Organization: University of California, Riverside
Lines: 21
Message-ID: <42nkri$nb3@galaxy.ucr.edu>
NNTP-Posting-Host: cs.ucr.edu
X-Newsreader: TIN [UNIX 1.3 950824BETA PL0]


I've got a command that "pipes" data through stdout (and then performs
a redirect to a file). This command works fine when the command is
executed at a prompt. . . but when its executed from cron, the command
bombs out.

I figure it may have something to do with the cron process not being 
attached to a tty of some sort. (please let me know if I'm thinking in
the right direction). 

Is there a workaround for this? 


_____

Arthur K. Chan                  | Department of Computer Science    
Internet: artchan@cs.ucr.edu    | University of California, Riverside
WWW: http://cs.ucr.edu/~artchan | Pager: 909-697-0468
PGP Key fingerprint:  4D FE 3E 90 E7 A7 65 68  DF 97 FE 79 D1 BF 77 31