From 77c9a177b2b595d4ce25095b58e2388fe33cc97a Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Wed, 13 Jun 2018 21:36:56 -0700 Subject: init --- checkpodcasts | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 checkpodcasts (limited to 'checkpodcasts') diff --git a/checkpodcasts b/checkpodcasts new file mode 100755 index 0000000..ec40440 --- /dev/null +++ b/checkpodcasts @@ -0,0 +1,12 @@ +#!/usr/bin/env bash + +export DISPLAY=:0 + +export cfg=~/.config/puckfetcher + +puckfetcher -c $cfg -d ~/Podcasts -a ~/tmp/podcasts update + +export ret=$(puckfetcher -c $cfg -d ~/Podcasts -a ~/tmp/podcasts list) +echo "$(date +%Y.%m.%d..%H.%M) $(basename $0): $ret" \ + >> /var/log/ben.cron.log +notify-send "Podcasts updated!" "$ret" -- cgit v1.2.3