Skip to content

Commit

Permalink
Added cron job
Browse files Browse the repository at this point in the history
  • Loading branch information
qtkhajacloud committed Feb 19, 2022
1 parent 46dab2c commit 4221f64
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions feb22/jobs/cron-job.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
apiVersion: batch/v1
kind: CronJob
metadata:
name: cron-job
spec:
schedule: "30 */2 * * *"
jobTemplate:
spec:
template:
spec:
containers:
- name: cron-job
image: alpine
args:
- sleep
- 60s
restartPolicy: OnFailure

0 comments on commit 4221f64

Please sign in to comment.