I have a project (‘my-project’) that has a node application that is built and tested in circle ci, which works as expected.
I would like to execute a cron job as well, nightly, to back up route 53 information related to it, but I don’t see any evidence it is running. The config shows as valid in the circle ci validator and seems very close to the example documentation on how to setup a cron job. Any ideas as to the issue?
version: 2.1
orbs:
aws-cli: circleci/aws-cli@1.2.1
jobs:
build:
# ...a typical build / test job, works as expected
backup_dns:
working_directory: ~/my-project
executor: aws-cli/default
steps:
- checkout
- aws-cli/setup
- run: mkdir -p backups
- run: aws route53 list-resource-record-sets --hosted-zone-id abcd --max-items 1000 > backups/route53.json
- store_artifacts:
path: backups
workflow:
version: 2.0
everyday:
triggers:
- schedule:
cron: "0 0 * * *"
filters:
branches:
only: master
jobs:
- backup_dns:
context:
- org-global