Skip to content

Commit

Permalink
Updated the example
Browse files Browse the repository at this point in the history
  • Loading branch information
gemblerz committed Jan 18, 2024
1 parent 22f9408 commit 00fe77c
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions data/jobs/a_policy_example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,21 @@ plugins:
- name: myfirstapp
pluginSpec:
image: registry.sagecontinuum.org/theone/imagesampler:0.3.0
entrypoint: /bin/bash
entrypoint: bash
args:
- -c
- "echo hello world; sleep 10; echo bye"
- "echo hello world; sleep 60; echo bye"
- name: mysecondapp
pluginSpec:
image: registry.sagecontinuum.org/theone/imagesampler:0.3.0
entrypoint: /bin/bash
entrypoint: bash
args:
- -c
- "echo hello world; sleep 5; echo bye"
- "echo hello world; sleep 30; echo bye"
nodes:
W097:
W023:
scienceRules:
- "schedule(myfirstapp): True"
- "schedule(mysecondapp): True"
#- "myfirstapp: cronjob('myfirstapp', '0 * * * *')"
- "schedule(myfirstapp): cronjob('myfirstapp', '*/10 * * * *')"
- "schedule(mysecondapp): cronjob('mysecondapp', '*/10 * * * *')"
successcriteria:
- WallClock(1d)

0 comments on commit 00fe77c

Please sign in to comment.