8 reputation
3
bio website
location
age
visits member for 1 year, 5 months
seen Dec 9 at 18:18

Sep
29
comment How to start a watch process for a bash script that sends notifications? (ubuntu 13.04)
Yes, I got it finally working, thanks for the help, I added SHELL=/bin/bash DISPLAY=:0.0 XAUTHORITY=~/.Xauthority TERM=dumb above the crontab line.
Sep
29
awarded  Scholar
Sep
29
accepted How to start a watch process for a bash script that sends notifications? (ubuntu 13.04)
Sep
29
comment How to start a watch process for a bash script that sends notifications? (ubuntu 13.04)
I installed postfix for localmail and I got an Email from Cron: 'Error opening terminal: unknown.' but I think I fixed this now as I'm no longer getting error mails and the process runs. The problem is now with the script itself if I run it manually in the background by appending '&' the notifications are also not shown. edit: Just found a possible solution: commandlinefu.com/commands/view/6167/…
Sep
29
comment How to start a watch process for a bash script that sends notifications? (ubuntu 13.04)
hm, I got the watch process now running with the correct user (after setting TERM=dumb cron is no longer sending an error mail). But somehow the notifications don't reach my desktop. Anyways, thanks for the hint with crontab
Sep
29
awarded  Student
Sep
29
awarded  Editor
Sep
29
revised How to start a watch process for a bash script that sends notifications? (ubuntu 13.04)
edited title
Sep
29
asked How to start a watch process for a bash script that sends notifications? (ubuntu 13.04)