1
0
Fork 0
mirror of https://gitlab.com/shouptech/flux.git synced 2026-02-03 19:29:43 +00:00

Add kubernetes cron job

This commit is contained in:
Emma 2020-02-18 19:08:52 -07:00
parent eae23695fb
commit bc398a39c2
No known key found for this signature in database
GPG key ID: 68434BFE85360755

View file

@ -0,0 +1,22 @@
apiVersion: batch/v1beta1
kind: CronJob
metadata:
name: nextcloudcron
namespace: cron
spec:
schedule: "*/5 * * * *"
jobTemplate:
spec:
template:
spec:
containers:
- name: busybox
image: busybox
command:
- "wget"
- "http://nextcloud/cron.php"
- "-o"
- "/dev/null"
- "-O"
- "-"
restartPolicy: never