Timeline for How do I run a cronjob on a display?
Current License: CC BY-SA 3.0
7 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Aug 24, 2018 at 20:17 | comment | added | ᴍᴇʜᴏᴠ | Adding export DISPLAY=:0 to my cron file actually helped with Error: GDK_BACKEND does not match available displays, thanks! | |
| Feb 28, 2017 at 12:43 | history | edited | 13dimitar | CC BY-SA 3.0 | added 7 characters in body |
| Feb 28, 2017 at 12:43 | comment | added | 13dimitar | I think you also need to specify an user which is able to log in to x. | |
| Feb 28, 2017 at 12:36 | comment | added | Toothrot | You have added export which it seems makes the var available to sub-processes, but that doesn't seem to be the crucial thing here. | |
| Feb 28, 2017 at 12:34 | comment | added | 13dimitar | Crontab is running in the background, and it doesn't show anything because there's no graphic output specified. You can specify it by adding export DISPLAY=:0 in your crontab entry (of course assuming DISPLAY:=0 is the correct display, but you pointed that out in a comment to your question). | |
| Feb 28, 2017 at 12:30 | comment | added | Toothrot | This doesn't work either. | |
| Feb 28, 2017 at 12:25 | history | answered | 13dimitar | CC BY-SA 3.0 |