Re: [Dorset] Crontab issue

2022-06-28 Thread Adrian Warman
Excellent! Glad it's working now! Kind regards, Adrian W. 27 Jun 2022 22:36:00 Tim : > Adrian, readingĀ  your comment reminded me of something I read about adding a > display option to the script. So I added the line "export DISPLAY=:0.0" and > the script now works with the image being

Re: [Dorset] Crontab issue

2022-06-27 Thread Tim
Adrian, readingĀ  your comment reminded me of something I read about adding a display option to the script. So I added the line "export DISPLAY=:0.0" and the script now works with the image being displayed on screen at the scheduled time from crontab regards Tim H On 26/06/2022 22:03,

[Dorset] Crontab issue

2022-06-27 Thread Adrian Warman via dorset
The reason is that there is no screen on which to display any windows. A crontab 'job' is running in its own little login. It's a command line -only session, hence nowhere to send graphical display output. The 'no MTA' message is a different thing. The crontab task failed (nowhere to display

[Dorset] Crontab issue

2022-06-26 Thread Tim
I have a simple single line bash script which if I run from the command line using ./tablet3 works perfectly (loads an image on the screen in a borderless window) #!/bin/bash feh -x /home/mit/scripts/tablet3 oi-u.png Now if I try to schedule this with crontab for example 14 21 * * *