This commit is contained in:
+1
-1
@@ -3,7 +3,7 @@ FROM mcr.microsoft.com/powershell:7.5-ubuntu-24.04
|
|||||||
USER root
|
USER root
|
||||||
|
|
||||||
RUN apt-get update \
|
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 dist-upgrade -y \
|
||||||
&& apt-get clean \
|
&& apt-get clean \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|||||||
@@ -109,6 +109,7 @@ while ($true) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Write-Host "Finding next notification time..."
|
Write-Host "Finding next notification time..."
|
||||||
|
Write-Host "Current time: $(Get-Date)"
|
||||||
$nextNotificationTomorrow = $true
|
$nextNotificationTomorrow = $true
|
||||||
foreach($time in $notificationTimes)
|
foreach($time in $notificationTimes)
|
||||||
{
|
{
|
||||||
|
|||||||
+2
-1
@@ -10,4 +10,5 @@ services:
|
|||||||
- DONETICKAPIKEY=adminpass # donetick API key
|
- DONETICKAPIKEY=adminpass # donetick API key
|
||||||
- APPRISEWEBHOOKURL=https://apprisehost/notify/config # apprise notification url
|
- APPRISEWEBHOOKURL=https://apprisehost/notify/config # apprise notification url
|
||||||
- APPRISEWEBHOOKTAG=all # apprise notification tag
|
- APPRISEWEBHOOKTAG=all # apprise notification tag
|
||||||
- NOTIFICATIONTIMES=8,12,17 # hours when notifications will be sent
|
- 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