Skip to content

Commit

Permalink
fix(docs): cron backfill example (#6833)
Browse files Browse the repository at this point in the history
Signed-off-by: Tianchu Zhao <[email protected]>
  • Loading branch information
tczhao authored Oct 1, 2021
1 parent 9daa641 commit 147730d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions examples/cron-backfill.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,13 @@ spec:
arguments:
parameters:
- name: date
# use "yesterday" is a magic value to tell the script it needs to determine the day to run
value: yesterday
templates:
- name: main
inputs:
parameters:
- name: date
value: "{{inputs.parameters.date}}"
# use "yesterday" is a magic value to tell the script it needs to determine the day to run
default: yesterday
script:
image: docker/whalesay:latest
command:
Expand Down

0 comments on commit 147730d

Please sign in to comment.