Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Apr 1997 22:39:53 -0700 (PDT)
From:      Doug White <dwhite@gdi.uoregon.edu>
To:        jadeite <jadeite@light.pomona.edu>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: cron jobs and X
Message-ID:  <Pine.BSF.3.96.970416223130.10694D-100000@localhost>
In-Reply-To: <Pine.BSF.3.95q.970416135226.10098A-100000@light.pomona.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.970416223130.10694D-100000>