summaryrefslogtreecommitdiff
path: root/sto-tug-kvm2.swamid.se/overlay/etc
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordberg.se>2015-04-09 12:19:10 +0200
committerLinus Nordberg <linus@nordberg.se>2015-04-09 12:19:10 +0200
commit47f45f0b76d1f84c3f49493732d036601f5d10b2 (patch)
tree39d685d0304bcdb6a0727820b40e494a279f5f5f /sto-tug-kvm2.swamid.se/overlay/etc
parentf2cbfd8cc6b36d35572a14be4ea09472bb782bfb (diff)
parentf645b93a53e2d7a1a5a84edb44b31b90168cf37a (diff)
Merge branch 'master' of git.nordu.net:sunet-opssunet-ops-2015-04-09-v01
Diffstat (limited to 'sto-tug-kvm2.swamid.se/overlay/etc')
-rw-r--r--sto-tug-kvm2.swamid.se/overlay/etc/cron.d/flog_daily4
1 files changed, 2 insertions, 2 deletions
diff --git a/sto-tug-kvm2.swamid.se/overlay/etc/cron.d/flog_daily b/sto-tug-kvm2.swamid.se/overlay/etc/cron.d/flog_daily
index fab47df..0759dca 100644
--- a/sto-tug-kvm2.swamid.se/overlay/etc/cron.d/flog_daily
+++ b/sto-tug-kvm2.swamid.se/overlay/etc/cron.d/flog_daily
@@ -2,6 +2,6 @@
0 23 * * * root /usr/local/bin/scriptherder --mode wrap --name flog_update_institutions -- /usr/bin/curl https://meta.eduroam.se/institution.xml -so /opt/flog/institution.xml
1 0 * * * root /usr/local/bin/scriptherder --mode wrap --syslog --name flog_db_backup -- /usr/local/bin/postgres_backup
# Run aggregation and caching for eduroam data
-20 0 * * * root /usr/local/bin/scriptherder --mode wrap --name flog_daily_eduroam -- /usr/bin/docker run --rm -v /opt/flog/dotenv:/opt/flog/.env -v /var/log/flog_cron/:/opt/flog/logs/ -v /opt/flog/institution.xml:/opt/flog/institution.xml -v /opt/flog/dotenv:/opt/flog/.env -v /etc/passwd:/etc/passwd:ro -v /etc/group:/etc/group:ro --link flog_db:flog_db.docker docker.sunet.se/flog/flog_app /bin/sh -e /usr/local/bin/daily_eduroam
+20 0 * * * root /usr/local/bin/scriptherder --mode wrap --name flog_daily_eduroam -- /usr/bin/docker run --rm -it -a stdout -a stderr -v /opt/flog/dotenv:/opt/flog/.env -v /var/log/flog_cron/:/opt/flog/logs/ -v /opt/flog/institution.xml:/opt/flog/institution.xml -v /opt/flog/dotenv:/opt/flog/.env -v /etc/passwd:/etc/passwd:ro -v /etc/group:/etc/group:ro --link flog_db:flog_db.docker docker.sunet.se/flog/flog_app /bin/sh -e /usr/local/bin/daily_eduroam
# Run aggregation and caching for sso data
-25 0 * * * root /usr/local/bin/scriptherder --mode wrap --name flog_daily_sso -- /usr/bin/docker run --rm -v /opt/flog/dotenv:/opt/flog/.env -v /var/log/flog_cron/:/opt/flog/logs/ -v /opt/flog/dotenv:/opt/flog/.env -v /etc/passwd:/etc/passwd:ro -v /etc/group:/etc/group:ro --link flog_db:flog_db.docker docker.sunet.se/flog/flog_app /bin/sh -e /usr/local/bin/daily_sso
+25 0 * * * root /usr/local/bin/scriptherder --mode wrap --name flog_daily_sso -- /usr/bin/docker run --rm -it -a stdout -a stderr -v /opt/flog/dotenv:/opt/flog/.env -v /var/log/flog_cron/:/opt/flog/logs/ -v /opt/flog/dotenv:/opt/flog/.env -v /etc/passwd:/etc/passwd:ro -v /etc/group:/etc/group:ro --link flog_db:flog_db.docker docker.sunet.se/flog/flog_app /bin/sh -e /usr/local/bin/daily_sso