This commit is contained in:
+1
-1
@@ -3,7 +3,7 @@ FROM mcr.microsoft.com/powershell:7.5-ubuntu-24.04
|
||||
USER root
|
||||
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y --no-install-recommends ca-certificates \
|
||||
&& apt-get install -y --no-install-recommends tzdata \
|
||||
&& apt-get dist-upgrade -y \
|
||||
&& apt-get clean \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
@@ -109,6 +109,7 @@ while ($true) {
|
||||
}
|
||||
|
||||
Write-Host "Finding next notification time..."
|
||||
Write-Host "Current time: $(Get-Date)"
|
||||
$nextNotificationTomorrow = $true
|
||||
foreach($time in $notificationTimes)
|
||||
{
|
||||
|
||||
@@ -11,3 +11,4 @@ services:
|
||||
- APPRISEWEBHOOKURL=https://apprisehost/notify/config # apprise notification url
|
||||
- APPRISEWEBHOOKTAG=all # apprise notification tag
|
||||
- NOTIFICATIONTIMES=8,12,17 # hours when notifications will be sent
|
||||
- TZ=America/Chicago # set timezone from this list: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List
|
||||
Reference in New Issue
Block a user