2023-08-24 17:58:27 +02:00
|
|
|
#!/bin/sh
|
|
|
|
|
2023-08-24 23:12:19 +02:00
|
|
|
yesterday=`date -d 'yesterday' -I`
|
2023-08-24 17:58:27 +02:00
|
|
|
|
|
|
|
echo "/tmp/webmention-storage/$yesterday"
|
|
|
|
|
|
|
|
if [ -f "/tmp/webmention-storage/$yesterday" ]
|
|
|
|
then
|
|
|
|
cat "/tmp/webmention-storage/$yesterday" | mail -r $SENDER -s "Your webmentions for $yesterday" $RECIPIENT
|
|
|
|
fi
|