Skip to content

Commit

Permalink
Fix timer for data sources
Browse files Browse the repository at this point in the history
  • Loading branch information
gmazoyer committed Nov 20, 2024
1 parent 4091a2d commit e070a64
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,11 @@ or `on_calendar` to specify times for each tasks:
enabled: true
command: "{{ peering_manager_virtualenv_path }}/bin/python {{ peering_manager_install_directory }}/manage.py configure_routers"
on_calendar: "*-*-* *:55:00"
data-sources:
enabled: true
command: "{{ peering_manager_virtualenv_path }}/bin/python {{ peering_manager_install_directory }}/manage.py datasource --all"
on_unit_active_sec: "30m"


Configuration for the backend web server and systemd:

Expand Down
2 changes: 1 addition & 1 deletion defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,4 +75,4 @@ peering_manager_tasks:
data-sources:
enabled: true
command: "{{ peering_manager_virtualenv_path }}/bin/python {{ peering_manager_install_directory }}/manage.py datasource --all"
on_calendar: "30m"
on_unit_active_sec: "30m"

0 comments on commit e070a64

Please sign in to comment.