Why can I not run KDE redshift in a cronjob?

Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
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?
terminal cron kde
add a comment |Â
up vote
0
down vote
favorite
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?
terminal cron kde
Possible duplicate of What is DISPLAY=:0?
â Jeff Schaller
37 mins ago
See also: unix.stackexchange.com/questions/171744/â¦
â Jeff Schaller
37 mins ago
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
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?
terminal cron kde
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?
terminal cron kde
terminal cron kde
asked 1 hour ago
BowPark
1,50182443
1,50182443
Possible duplicate of What is DISPLAY=:0?
â Jeff Schaller
37 mins ago
See also: unix.stackexchange.com/questions/171744/â¦
â Jeff Schaller
37 mins ago
add a comment |Â
Possible duplicate of What is DISPLAY=:0?
â Jeff Schaller
37 mins ago
See also: unix.stackexchange.com/questions/171744/â¦
â Jeff Schaller
37 mins ago
Possible duplicate of What is DISPLAY=:0?
â Jeff Schaller
37 mins ago
Possible duplicate of What is DISPLAY=:0?
â Jeff Schaller
37 mins ago
See also: unix.stackexchange.com/questions/171744/â¦
â Jeff Schaller
37 mins ago
See also: unix.stackexchange.com/questions/171744/â¦
â Jeff Schaller
37 mins ago
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f480435%2fwhy-can-i-not-run-kde-redshift-in-a-cronjob%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Possible duplicate of What is DISPLAY=:0?
â Jeff Schaller
37 mins ago
See also: unix.stackexchange.com/questions/171744/â¦
â Jeff Schaller
37 mins ago