first attempt at a webhook consumer
Security / security (push) Failing after 1m1s

This commit is contained in:
2026-05-30 19:54:46 -05:00
parent 7a0506bb5f
commit 7bce5cabc9
5 changed files with 148 additions and 9 deletions
+13
View File
@@ -0,0 +1,13 @@
#!/bin/bash
set -e
# Build the crontab dynamically from the env variable
echo "${JOB_SCHEDULE} pwsh /data/Start-DoneTineNotifier.ps1" > /tmp/crontab-runtime
echo "Cron schedule set to: ${JOB_SCHEDULE}"
# Start supercronic in background using the generated crontab
supercronic /tmp/crontab-runtime &
# Start the HTTP listener in foreground
exec pwsh /data/Start-DoneTickConsumer.ps1