Package: sn
Version: 0.3.8-12

After switching to systemd-cron the daily cronjob in /etc/cron.daily/sn does not fetch new articles any more.

The problem seems to be that systemd does not allow background jobs in shell scripts.

The fix is simple:

--- /etc/cron.daily/sn.orig     2012-08-24 23:05:41.000000000 +0200
+++ /etc/cron.daily/sn  2023-11-23 11:21:57.814847259 +0100
@@ -34,5 +34,5 @@
 done

 if [ "$RUNFROM" = cron ]; then
-    /usr/sbin/snget >/dev/null 2>&1 &
+    /usr/sbin/snget >/dev/null 2>&1


Klaus.

Reply via email to