annotate debian/cron.daily @ 500:614a3177b15c noffle tip

Add mail-from option. Some modern mail systems will try and ensure the sender email is a legitimate address. Which will fail if there isn't such an address.
author Jim Hague <jim.hague@acm.org>
date Wed, 14 Aug 2013 12:04:39 +0100
parents 08222dbe6eb0
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
334
08222dbe6eb0 [svn] cleanup
godisch
parents: 301
diff changeset
1 #!/bin/sh
301
3b5b7f3fd71f [svn] initial debian/ upload
godisch
parents:
diff changeset
2 #
3b5b7f3fd71f [svn] initial debian/ upload
godisch
parents:
diff changeset
3 # expire old articles, output will be logged to syslog
3b5b7f3fd71f [svn] initial debian/ upload
godisch
parents:
diff changeset
4
334
08222dbe6eb0 [svn] cleanup
godisch
parents: 301
diff changeset
5 set -e
08222dbe6eb0 [svn] cleanup
godisch
parents: 301
diff changeset
6
08222dbe6eb0 [svn] cleanup
godisch
parents: 301
diff changeset
7 if [ -x /usr/bin/noffle ]; then
08222dbe6eb0 [svn] cleanup
godisch
parents: 301
diff changeset
8 /usr/bin/noffle --expire > /dev/null 2>&1
08222dbe6eb0 [svn] cleanup
godisch
parents: 301
diff changeset
9 fi
08222dbe6eb0 [svn] cleanup
godisch
parents: 301
diff changeset
10
08222dbe6eb0 [svn] cleanup
godisch
parents: 301
diff changeset
11 exit 0