diff options
| author | Stephen Smoogen <smooge@redhat.com> | 2017-01-12 19:17:45 +0000 |
|---|---|---|
| committer | Stephen Smoogen <smooge@redhat.com> | 2017-01-12 19:17:45 +0000 |
| commit | e587deb9682aa2dee7e99c06f2937246124ca10e (patch) | |
| tree | 4d5fd6462c2e3abdde82c00351b0430c3203e3d6 /roles/web-data-analysis | |
| parent | 8cd42e1c540640fd7c0d3834eb1e32bf0db9ff5f (diff) | |
| download | ansible-e587deb9682aa2dee7e99c06f2937246124ca10e.tar.gz ansible-e587deb9682aa2dee7e99c06f2937246124ca10e.tar.xz ansible-e587deb9682aa2dee7e99c06f2937246124ca10e.zip | |
and we put in a fixme for something later
Diffstat (limited to 'roles/web-data-analysis')
| -rw-r--r-- | roles/web-data-analysis/files/condense-getfedoralogs.sh | 2 | ||||
| -rw-r--r-- | roles/web-data-analysis/files/condense-mirrorlogs.sh | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/roles/web-data-analysis/files/condense-getfedoralogs.sh b/roles/web-data-analysis/files/condense-getfedoralogs.sh index 5d5dfcb23..b6aaa9490 100644 --- a/roles/web-data-analysis/files/condense-getfedoralogs.sh +++ b/roles/web-data-analysis/files/condense-getfedoralogs.sh @@ -81,6 +81,8 @@ sort -o ${WORKDIR}/${YEAR}/out-${YEAR}-${MONTH} -S 8G -u ${WORKDIR}/${YEAR}/out- sort -o ${WORKDIR}/out-${YEAR} -S 8G -u ${WORKDIR}/out-${YEAR} ${WORKFILE} # Because the logs stop at 04:00 we can only get 24 hours from 6 days before. +### +### FIXME: This breaks around the new year. grep "${OLDDATE}" ${WORKDIR}/out-${OLDYEAR} > ${TEMPDIR}/watched-day # Grab the data and put it in the two files. This makes it a lot diff --git a/roles/web-data-analysis/files/condense-mirrorlogs.sh b/roles/web-data-analysis/files/condense-mirrorlogs.sh index 2760d19f8..f8b356801 100644 --- a/roles/web-data-analysis/files/condense-mirrorlogs.sh +++ b/roles/web-data-analysis/files/condense-mirrorlogs.sh @@ -82,6 +82,8 @@ sort -o ${WORKDIR}/${YEAR}/out-${YEAR}-${MONTH} -S 8G -T /srv/tmp -u ${WORKDIR}/ sort -o ${WORKDIR}/out-${YEAR} -S 8G -T /srv/tmp -u ${WORKDIR}/out-${YEAR} ${WORKFILE} # Because the logs stop at 04:00 we can only get 24 hours from 6 days before. +### +### FIXME: This breaks around the new year. egrep "${OLDDATE}" ${WORKDIR}/out-${OLDYEAR} > ${TEMPDIR}/watched-day # Grab the data and put it in the two files. This makes it a lot |
