From owner-freebsd-questions Wed Apr 16 22:39:58 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id WAA09551 for questions-outgoing; Wed, 16 Apr 1997 22:39:58 -0700 (PDT) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.170.30]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id WAA09545 for ; Wed, 16 Apr 1997 22:39:55 -0700 (PDT) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.5/8.6.12) with SMTP id WAA11032; Wed, 16 Apr 1997 22:39:54 -0700 (PDT) Date: Wed, 16 Apr 1997 22:39:53 -0700 (PDT) From: Doug White X-Sender: dwhite@localhost Reply-To: Doug White To: jadeite cc: freebsd-questions@freebsd.org Subject: Re: cron jobs and X In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Wed, 16 Apr 1997, jadeite wrote: > How would I go about getting cron jobs to execute something within X > windows? > > At the moment, anything I do tells me that it can't open display. You'll have to build a shell script that replicates the DISPLAY environment variable, so it thinks that it's in an x window. Then there's authentication which makes it's own problems. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major