From 72b7178fd4f35ac1998551e785d96ac10d38a162 Mon Sep 17 00:00:00 2001 From: DanielMowitz Date: Thu, 24 Aug 2023 23:17:29 +0200 Subject: [PATCH] Pasted a magic string that makes date show yesterday on alpine. --- send-daily-mail.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"