Program will not run on CRONTAB

The name of the pictureThe name of the pictureThe name of the pictureClash 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







share|improve this question






















  • 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














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







share|improve this question






















  • 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












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







share|improve this question














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









share|improve this question













share|improve this question




share|improve this question








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
















  • 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










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.






share|improve this answer




















  • I've already tried that on my personal crontab and still nothing
    – 4rb3l
    Apr 13 at 5:40










Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);








 

draft saved


draft discarded


















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






























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.






share|improve this answer




















  • I've already tried that on my personal crontab and still nothing
    – 4rb3l
    Apr 13 at 5:40














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.






share|improve this answer




















  • I've already tried that on my personal crontab and still nothing
    – 4rb3l
    Apr 13 at 5:40












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.






share|improve this answer












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.







share|improve this answer












share|improve this answer



share|improve this answer










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
















  • 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












 

draft saved


draft discarded


























 


draft saved


draft discarded














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













































































Popular posts from this blog

How to check contact read email or not when send email to Individual?

Displaying single band from multi-band raster using QGIS

How many registers does an x86_64 CPU actually have?