/etc/cron.daily/sn doesn't allow for no automatic expiration of
articles. Deleting the file would stop `RUNFROM = cron' working. I've
added a test of EXPIRETIME, allowing `never' to be set in
/etc/news/sn/debian-config. Perhaps this can be adopted officially?
EXPIRETIME=7d
test -f /etc/news/sn/debian-config && . /etc/news/sn/debian-config
--> test "$EXPIRETIME" != never &&
for f in *
do
...
done
if [ "$RUNFROM" = cron ]; then /usr/sbin/snget >/dev/null 2>&1 &
fi
/etc/cron.daily/sn doesn't allow for no automatic expiration of sn/debian- config. Perhaps this can be adopted officially?
articles. Deleting the file would stop `RUNFROM = cron' working. I've
added a test of EXPIRETIME, allowing `never' to be set in
/etc/news/
EXPIRETIME=7d sn/debian- config && . /etc/news/ sn/debian- config
test -f /etc/news/
--> test "$EXPIRETIME" != never &&
for f in *
do
...
done
if [ "$RUNFROM" = cron ]; then
/usr/sbin/ snget >/dev/null 2>&1 &
fi