Re: crontab -e only creates temporary files in tmp. it never runs
Yes. Other ways being desktop links or KAlarm - in both cases it just opens normally.
I tried Kate and Konsole launched without any text. So I closed Kate and then Konsole had the message:
For kicks I tried Konsole and a second console launched with:
---------------------------------------------------------------------------------------------------
This did not change anything. Konsole launched with same message.
I tried your last two suggestions and nothing changed. Except a zero byte ktorrent_output.txt file was created but empty in both of these cases.
Another thing I've noticed is that if I close Konsole (after cron launched it) Ktorrent will close with it.
If I just close Ktorrent the Konsole remains open with that 'end of script' message.
Could I have messed up system/environment settings, paths, shell etc?
I did add the shell/path variables manually but when I removed them nothing changed
Here is the whole cron now:
Reinstall cron?
thx
Does this happen only when you start ktorrent via cron?
Does this happen with other programs if launched via cron?
Code:
QThreadStorage: Thread 0x98f9d70 exited after QThreadStorage 2147483636 destroyed ------------------------------------------------------------------------- End of script execution. Type Enter or Ctrl+C to exit. ------------------------------------------------------------------------
Code:
------------------------------------------------------------------------- End of script execution. Type Enter or Ctrl+C to exit. -------------------------------------------------------------------------
You could try using this command to launch ktorrent (via cron):
Code:
/usr/bin/ktorrent --display :0 >> /dev/null 2>&1
(this will send all terminal output from ktorrent to "bit heaven" (/dev/null))
Code:
/usr/bin/ktorrent --display :0 >> /dev/null 2>&1
(this will send all terminal output from ktorrent to "bit heaven" (/dev/null))
I tried your last two suggestions and nothing changed. Except a zero byte ktorrent_output.txt file was created but empty in both of these cases.
Another thing I've noticed is that if I close Konsole (after cron launched it) Ktorrent will close with it.
If I just close Ktorrent the Konsole remains open with that 'end of script' message.
Could I have messed up system/environment settings, paths, shell etc?
I did add the shell/path variables manually but when I removed them nothing changed
Here is the whole cron now:
Code:
#No comment SHELL=/bin/sh #No comment PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin #Min Hr DoM MoY DoW 0 3 * * * env DISPLAY=:0.0 /usr/bin/ktorrent > ~/ktorrent_output.txt 2>&1 #No comment 0 4 * * * /usr/bin/kate --display :0 #No comment 0 8 * * * /usr/bin/konsole --display :0 # File generated by KCron the Tuesday 13 April 2010 12:56 pm.
thx
Comment