notifications for newsboat in cronjobs)
This commit is contained in:
parent
04d096c2bc
commit
9ea8d84549
@ -1,7 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/$(id -u)/bus
|
DBUS_SESSION_BUS_ADDRESS=$(cat /tmp/dbus_session_bus_address)
|
||||||
export DBUS_SESSION_BUS_ADDRESS
|
export DBUS_SESSION_BUS_ADDRESS
|
||||||
export DISPLAY=:0.0
|
export DISPLAY=:0.0
|
||||||
newsboat -x reload & pid=$!
|
newsboat -x reload & pid=$!
|
||||||
sleep 60
|
sleep 120
|
||||||
kill -15 $pid
|
kill -15 $pid
|
||||||
|
Loading…
Reference in New Issue
Block a user