You are not logged in.

#1 2021-10-25 16:27:27

CaeriTech
Member
Registered: 2021-07-12
Posts: 42

[SOLVED] Notifications from cron jobs

[SYNOPSYS] I found this, answer #39 and it works.

I have several scripts that provide notifications with notify-send that work when run for the shell.  However, when run as a cron job no notifications appear on the desktop.

This is my /usr/share/dbus-1/services/org.freedesktop.Notifications.service config:

[D-BUS Service]
Name=org.freedesktop.Notifications
Exec=/usr/lib/notification-daemon-1.0/notification-daemon

How do I get notifications to work from scripts run as a cron job?

Last edited by CaeriTech (2021-10-25 16:59:36)


-=[ LIVE enabled UEFI with redundant syslinux pure systemd detached LUKS header partitionless encrypted GPT SSDx3 RAID0 wayland only because I can.  ]=-
    Backward compatibility is for the masses. There's no dual-boot here.

    [CaeriTech remains only artificially intelligent.  Turing would be aghast at just how artificial.]

Offline

Board footer

Powered by FluxBB