Your message dated Thu, 21 Jan 2016 18:01:30 +0100
with message-id <[email protected]>
and subject line Re: Bug#812205: libnotify-bin: notify-send does not work in
crontab
has caused the Debian Bug report #812205,
regarding libnotify-bin: notify-send does not work in crontab
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
812205: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=812205
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libnotify-bin
Version: 0.7.6-2
Severity: normal
Dear Maintainer,
I tried to use the notify-send with the CRON scheduler.
Like this:
27 15 * * * szg notify-send "Message text" -t 10000
The command works in terminal. From logfiles, the cron runs the command in
time, but the message does not appear.
-- System Information:
Debian Release: 8.2
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=hu_HU.UTF-8, LC_CTYPE=hu_HU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages libnotify-bin depends on:
ii libc6 2.19-18+deb8u1
ii libglib2.0-0 2.42.1-1
ii libnotify4 0.7.6-2
libnotify-bin recommends no packages.
libnotify-bin suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Am 21.01.2016 um 15:36 schrieb Szőgyényi Gábor:
> Package: libnotify-bin
> Version: 0.7.6-2
> Severity: normal
>
> Dear Maintainer,
>
> I tried to use the notify-send with the CRON scheduler.
> Like this:
>
>
> 27 15 * * * szg notify-send "Message text" -t 10000
>
>
> The command works in terminal. From logfiles, the cron runs the command in
> time, but the message does not appear.
That's not a bug in notify-send.
It needs access to your (D-Bus) user session. Running that from a system
service does not give you access to the user session, unless you do some
dirty tricks, which I'm not going to mention here.
--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
signature.asc
Description: OpenPGP digital signature
--- End Message ---