Skip to content

Commit

Permalink
refactor: change hour
Browse files Browse the repository at this point in the history
  • Loading branch information
leonidastri committed Dec 18, 2024
1 parent b45b39c commit c6d20cd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions roles/yoda_report/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@
- name: Add cron job to gather capacity statistics
ansible.builtin.cron:
name: "yoda-report-gather-capacity-statistics"
minute: "*/2"
hour: "*"
minute: 0
hour: 1
job: >
source /var/yoda-financial-data/yoda_report_venv/bin/activate &&
python /var/yoda-financial-data/gather-capacity-stats.py
Expand All @@ -125,8 +125,8 @@
- name: Add cron job to transfer capacity statistics to reporting server
ansible.builtin.cron:
name: "yoda-report-copy-capacity-statistics"
minute: "*/5"
hour: "*"
minute: 0
hour: 3
job: >
source /var/yoda-financial-data/yoda_report_venv/bin/activate &&
scp -i {{ yoda_report_server_priv_key_loc }}
Expand Down

0 comments on commit c6d20cd

Please sign in to comment.