diff --git a/k8s/cronjob.yaml b/k8s/cronjob.yaml index c642e45..8d8ee97 100644 --- a/k8s/cronjob.yaml +++ b/k8s/cronjob.yaml @@ -13,6 +13,7 @@ spec: image: osuakatsuki/new-cron:latest imagePullPolicy: IfNotPresent command: + - cd /srv/root - python3 main.py restartPolicy: OnFailure imagePullSecrets: