diff --git a/send-daily-mail.sh b/send-daily-mail.sh index 010d3ec..75e9ce8 100755 --- a/send-daily-mail.sh +++ b/send-daily-mail.sh @@ -1,6 +1,6 @@ #!/bin/sh -yesterday=`date -d 'yesterday' -I` +yesterday=`date -d "@$(($(date +%s) - 86400))" -I` echo "/tmp/webmention-storage/$yesterday"