Added cronjob to check for new chapters every 15 minutes

This commit is contained in:
Florian 2025-10-18 21:46:59 +02:00
parent 346fc3cad8
commit e23046dac3

View File

@ -0,0 +1,21 @@
apiVersion: batch/v1
kind: CronJob
metadata:
name: check-new-royalroad-chapters
namespace: app-notifications
spec:
schedule: "*/15 * * * *"
jobTemplate:
spec:
template:
spec:
containers:
- name: curl
image: curlimages/curl:latest
command: ["curl"]
args:
- -s
- -X
- GET
- http://service-royalroad-chapters-internal:5000/royalroad
restartPolicy: OnFailure