Skip to content

Instantly share code, notes, and snippets.

@nosmall
Created July 17, 2026 09:58
Show Gist options
  • Select an option

  • Save nosmall/fdbe7a0b77e36cc36b1c003d7a4cc91b to your computer and use it in GitHub Desktop.

Select an option

Save nosmall/fdbe7a0b77e36cc36b1c003d7a4cc91b to your computer and use it in GitHub Desktop.
UptimeKuma Push Every 45s
<?xml version="1.0" encoding="UTF-16"?>
<Task version="1.4" xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task">
<Triggers>
<!-- Spuštění při startu počítače -->
<BootTrigger>
<Repetition>
<Interval>PT3M</Interval>
<StopAtDurationEnd>false</StopAtDurationEnd>
</Repetition>
<Enabled>true</Enabled>
</BootTrigger>
<!-- Kalendářní spuštěč 1 (0:00:00, 0:03:00, 0:06:00...) -->
<CalendarTrigger>
<Repetition>
<Interval>PT3M</Interval>
<StopAtDurationEnd>false</StopAtDurationEnd>
</Repetition>
<StartBoundary>2000-01-01T00:00:00</StartBoundary>
<Enabled>true</Enabled>
<ScheduleByDay>
<DaysInterval>1</DaysInterval>
</ScheduleByDay>
</CalendarTrigger>
<!-- Kalendářní spuštěč 2 (0:00:45, 0:03:45, 0:06:45...) -->
<CalendarTrigger>
<Repetition>
<Interval>PT3M</Interval>
<StopAtDurationEnd>false</StopAtDurationEnd>
</Repetition>
<StartBoundary>2000-01-01T00:00:45</StartBoundary>
<Enabled>true</Enabled>
<ScheduleByDay>
<DaysInterval>1</DaysInterval>
</ScheduleByDay>
</CalendarTrigger>
<!-- Kalendářní spuštěč 3 (0:01:30, 0:04:30, 0:07:30...) -->
<CalendarTrigger>
<Repetition>
<Interval>PT3M</Interval>
<StopAtDurationEnd>false</StopAtDurationEnd>
</Repetition>
<StartBoundary>2000-01-01T00:01:30</StartBoundary>
<Enabled>true</Enabled>
<ScheduleByDay>
<DaysInterval>1</DaysInterval>
</ScheduleByDay>
</CalendarTrigger>
<!-- Kalendářní spuštěč 4 (0:02:15, 0:05:15, 0:08:15...) -->
<CalendarTrigger>
<Repetition>
<Interval>PT3M</Interval>
<StopAtDurationEnd>false</StopAtDurationEnd>
</Repetition>
<StartBoundary>2000-01-01T00:02:15</StartBoundary>
<Enabled>true</Enabled>
<ScheduleByDay>
<DaysInterval>1</DaysInterval>
</ScheduleByDay>
</CalendarTrigger>
</Triggers>
<Principals>
<Principal id="SystemContext">
<!-- SYSTEM účet -->
<UserId>S-1-5-18</UserId>
<RunLevel>HighestAvailable</RunLevel>
</Principal>
</Principals>
<Settings>
<MultipleInstancesPolicy>IgnoreNew</MultipleInstancesPolicy>
<DisallowStartIfOnBatteries>false</DisallowStartIfOnBatteries>
<StopIfGoingOnBatteries>false</StopIfGoingOnBatteries>
<StartWhenAvailable>true</StartWhenAvailable>
<RunOnlyIfNetworkAvailable>false</RunOnlyIfNetworkAvailable>
<ExecutionTimeLimit>PT0S</ExecutionTimeLimit>
<RestartOnFailure>
<Interval>PT1M</Interval>
<Count>3</Count>
</RestartOnFailure>
</Settings>
<Actions Context="SystemContext">
<Exec>
<Command>C:\Windows\System32\curl.exe</Command>
<Arguments>https://uptime.kuma.tld/api/push/CHANGE-THIS-CODE?status=up&amp;msg=OK&amp;ping=</Arguments>
</Exec>
</Actions>
</Task>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment