update the calendar URL due to new scheudle

This commit is contained in:
2026-03-02 13:37:23 +00:00
parent b22d3d6a28
commit 365d98a6f6
6 changed files with 148 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
#!/bin/bash
#install required packages
apk add curl wget
destination_folder="/storage"
pagerduty_webcal_url="https://prometheusgroup.pagerduty.com/private/ec39afcfcc8fad708b335db797b2c1f4324f7f7097b3c1b65c3c0cea08388915/feed/PLHRBFV"
today_date=$(date "+%Y-%m-%d")
curl -s -A "$USER_AGENT" -o "$destination_folder/pagerduty_export_$today_date.ics" "$pagerduty_webcal_url"