Program will not run on CRONTAB
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I'm trying to have crontab run deluge-gtk run at a specified time but for some reason nothing happens. I'm on Debian 9.4 (stretch).
Here is what I have on my crontab file:
30 16 * * * export DISPLAY=:0 && /usr/bin/deluge --ui=gtk
I've also tried
30 16 * * * export DISPLAY=:0 && /usr/bin/deluge-gtk
None of them work. Can I get some enlightenment, please.
ADDITIONAL INFO:
With other jobs, cron is working fine. It's just not working for this deluge line I have
linux debian cron deluge
add a comment |Â
up vote
0
down vote
favorite
I'm trying to have crontab run deluge-gtk run at a specified time but for some reason nothing happens. I'm on Debian 9.4 (stretch).
Here is what I have on my crontab file:
30 16 * * * export DISPLAY=:0 && /usr/bin/deluge --ui=gtk
I've also tried
30 16 * * * export DISPLAY=:0 && /usr/bin/deluge-gtk
None of them work. Can I get some enlightenment, please.
ADDITIONAL INFO:
With other jobs, cron is working fine. It's just not working for this deluge line I have
linux debian cron deluge
Before adding the commands to cron, try to run the command as normal command. Also check for which user your are running the cron.
â Dipankar Nalui
Apr 11 at 2:30
I can run the command fine both with my user. As far as I know, crontab jobs created under my user will run as my user, correct?
â 4rb3l
Apr 11 at 3:16
1
Think about this for a minute. If you are not logged in, should the application be opened on the currently logged in user's desktop? Remember that Unix is a multi user system.
â Kusalananda
Apr 11 at 5:39
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I'm trying to have crontab run deluge-gtk run at a specified time but for some reason nothing happens. I'm on Debian 9.4 (stretch).
Here is what I have on my crontab file:
30 16 * * * export DISPLAY=:0 && /usr/bin/deluge --ui=gtk
I've also tried
30 16 * * * export DISPLAY=:0 && /usr/bin/deluge-gtk
None of them work. Can I get some enlightenment, please.
ADDITIONAL INFO:
With other jobs, cron is working fine. It's just not working for this deluge line I have
linux debian cron deluge
I'm trying to have crontab run deluge-gtk run at a specified time but for some reason nothing happens. I'm on Debian 9.4 (stretch).
Here is what I have on my crontab file:
30 16 * * * export DISPLAY=:0 && /usr/bin/deluge --ui=gtk
I've also tried
30 16 * * * export DISPLAY=:0 && /usr/bin/deluge-gtk
None of them work. Can I get some enlightenment, please.
ADDITIONAL INFO:
With other jobs, cron is working fine. It's just not working for this deluge line I have
linux debian cron deluge
edited Apr 13 at 5:49
asked Apr 11 at 2:17
4rb3l
84
84
Before adding the commands to cron, try to run the command as normal command. Also check for which user your are running the cron.
â Dipankar Nalui
Apr 11 at 2:30
I can run the command fine both with my user. As far as I know, crontab jobs created under my user will run as my user, correct?
â 4rb3l
Apr 11 at 3:16
1
Think about this for a minute. If you are not logged in, should the application be opened on the currently logged in user's desktop? Remember that Unix is a multi user system.
â Kusalananda
Apr 11 at 5:39
add a comment |Â
Before adding the commands to cron, try to run the command as normal command. Also check for which user your are running the cron.
â Dipankar Nalui
Apr 11 at 2:30
I can run the command fine both with my user. As far as I know, crontab jobs created under my user will run as my user, correct?
â 4rb3l
Apr 11 at 3:16
1
Think about this for a minute. If you are not logged in, should the application be opened on the currently logged in user's desktop? Remember that Unix is a multi user system.
â Kusalananda
Apr 11 at 5:39
Before adding the commands to cron, try to run the command as normal command. Also check for which user your are running the cron.
â Dipankar Nalui
Apr 11 at 2:30
Before adding the commands to cron, try to run the command as normal command. Also check for which user your are running the cron.
â Dipankar Nalui
Apr 11 at 2:30
I can run the command fine both with my user. As far as I know, crontab jobs created under my user will run as my user, correct?
â 4rb3l
Apr 11 at 3:16
I can run the command fine both with my user. As far as I know, crontab jobs created under my user will run as my user, correct?
â 4rb3l
Apr 11 at 3:16
1
1
Think about this for a minute. If you are not logged in, should the application be opened on the currently logged in user's desktop? Remember that Unix is a multi user system.
â Kusalananda
Apr 11 at 5:39
Think about this for a minute. If you are not logged in, should the application be opened on the currently logged in user's desktop? Remember that Unix is a multi user system.
â Kusalananda
Apr 11 at 5:39
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
0
down vote
See Kusalananda's comment about multi-user environment. Try
30 16 * * * DISPLAY=:0 /usr/bin/deluge --ui=gtk
Use crontab -e
to edit your personal crontab.
I've already tried that on my personal crontab and still nothing
â 4rb3l
Apr 13 at 5:40
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
See Kusalananda's comment about multi-user environment. Try
30 16 * * * DISPLAY=:0 /usr/bin/deluge --ui=gtk
Use crontab -e
to edit your personal crontab.
I've already tried that on my personal crontab and still nothing
â 4rb3l
Apr 13 at 5:40
add a comment |Â
up vote
0
down vote
See Kusalananda's comment about multi-user environment. Try
30 16 * * * DISPLAY=:0 /usr/bin/deluge --ui=gtk
Use crontab -e
to edit your personal crontab.
I've already tried that on my personal crontab and still nothing
â 4rb3l
Apr 13 at 5:40
add a comment |Â
up vote
0
down vote
up vote
0
down vote
See Kusalananda's comment about multi-user environment. Try
30 16 * * * DISPLAY=:0 /usr/bin/deluge --ui=gtk
Use crontab -e
to edit your personal crontab.
See Kusalananda's comment about multi-user environment. Try
30 16 * * * DISPLAY=:0 /usr/bin/deluge --ui=gtk
Use crontab -e
to edit your personal crontab.
answered Apr 11 at 17:55
haba713
1065
1065
I've already tried that on my personal crontab and still nothing
â 4rb3l
Apr 13 at 5:40
add a comment |Â
I've already tried that on my personal crontab and still nothing
â 4rb3l
Apr 13 at 5:40
I've already tried that on my personal crontab and still nothing
â 4rb3l
Apr 13 at 5:40
I've already tried that on my personal crontab and still nothing
â 4rb3l
Apr 13 at 5:40
add a comment |Â
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%2f436899%2fprogram-will-not-run-on-crontab%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
Before adding the commands to cron, try to run the command as normal command. Also check for which user your are running the cron.
â Dipankar Nalui
Apr 11 at 2:30
I can run the command fine both with my user. As far as I know, crontab jobs created under my user will run as my user, correct?
â 4rb3l
Apr 11 at 3:16
1
Think about this for a minute. If you are not logged in, should the application be opened on the currently logged in user's desktop? Remember that Unix is a multi user system.
â Kusalananda
Apr 11 at 5:39