Hi. On Sat, 21 Mar 2015 05:02:53 -0400 Gene Heskett <ghesk...@wdtv.com> wrote:
> Greetings; > > Running a wheezy based linux here. > > While I as a user can use xset to remind the system of the monitors dpms > controls, an identical entry in my crontab results in an email that it > could not open my 0:0 display. Since cron should strip out every environment variable from whatever its told to run - that's to be expected. > So I cannot "script" this reminder. You can. All you need to do is to define the needed DISPLAY and XAUTHORITY in the script itself. I.e. #!/bin/sh export DISPLAY=:0.0 export XAUTORITY=<your XAuthority goes here> xset +foo -bar Reco -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20150321121818.b414a8ed678b4ae0bba5d...@gmail.com