aboutsummaryrefslogtreecommitdiff
path: root/rcynic/rcynic-cron.py
diff options
context:
space:
mode:
Diffstat (limited to 'rcynic/rcynic-cron.py')
-rw-r--r--rcynic/rcynic-cron.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/rcynic/rcynic-cron.py b/rcynic/rcynic-cron.py
index d985d7e3..89b48cf2 100644
--- a/rcynic/rcynic-cron.py
+++ b/rcynic/rcynic-cron.py
@@ -83,3 +83,9 @@ if ac_rcynic_html_dir and os.path.exists(os.path.dirname(ac_rcynic_html_dir)):
run(bin("rcynic-html"), rcy("data/rcynic.xml"), ac_rcynic_html_dir)
run(bin("rtr-origin"), "--cronjob", rcy("data/authenticated"), cwd = rcy("rpki-rtr"))
+
+try:
+ import rpki.gui.cacheview.util
+ rpki.gui.cacheview.util.import_rcynic_xml()
+except ImportError:
+ pass