australis/test/hello_world_cron.yaml
Renan DelValle 2df6672acc
Adding schedule command to schedule cron jobs.
Adding example of a cron job.

Removing functions since they've been moved elsewhere.
2020-05-07 16:28:55 -07:00

28 lines
No EOL
555 B
YAML

---
environment: "prod"
role: "vagrant"
name: "hello_world"
cpu: 0.09
ram: 64
disk: 128
instances: 1
cronSchedule: "*/1 * * * *"
cronCollisionPolicy: "CANCEL_NEW"
thermos:
- name: "bootstrap"
cmd: "echo bootstrapping"
- name: "hello_gorealis"
cmd: "echo hello world from gorealis; sleep 10;"
updateSettings:
maxPerInstanceFailures: 1
maxFailedInstances: 1
minTimeInRunning: 1m
rollbackOnFailure: true
instanceRanges:
- start: 1
end: 4
blockIfNoPulseAfter: 1m
slaAware: false
strategy:
name: Batch
groupSize: 2