didnt work
This commit is contained in:
parent
e8084bf517
commit
42ba699d8e
1 changed files with 0 additions and 22 deletions
|
@ -128,25 +128,3 @@ spec:
|
||||||
number: 80
|
number: 80
|
||||||
|
|
||||||
|
|
||||||
---
|
|
||||||
apiVersion: batch/v1
|
|
||||||
kind: CronJob
|
|
||||||
metadata:
|
|
||||||
name: nextcloud-cron
|
|
||||||
namespace: home-server
|
|
||||||
spec:
|
|
||||||
schedule: "*/5 * * * *" # Every 5 minutes
|
|
||||||
jobTemplate:
|
|
||||||
spec:
|
|
||||||
template:
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- name: curl-cron
|
|
||||||
image: curlimages/curl:latest
|
|
||||||
args:
|
|
||||||
- "--fail"
|
|
||||||
- "--silent"
|
|
||||||
- "--show-error"
|
|
||||||
- "http://nextcloud.home-server.svc.cluster.local/cron.php"
|
|
||||||
restartPolicy: OnFailure
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue