I'm running KDE Neon 5.14 (based on Ubuntu 18.04) and KDE Plasma 5.14.2.
A command redshift
(/usr/bin/redshift
) is provided to adapt the screen colors to red tones for evening/night. I can successfully run it on a terminal emulator, but not in a cronjob. This line from the user's crontab
15 19 * * * /usr/bin/redshift
has no effect.
What could be the reason? And how to correctly run redshift
also as a cronjob?
DISPLAY:=0.0
. Thank you! – BowPark Nov 07 '18 at 21:25DISPLAY:=0.0
must be set in theenv
of the cronjob. – BowPark Nov 07 '18 at 22:57