add cron jobs
parent
ca944a63e3
commit
d2f8850cc5
|
@ -6,7 +6,7 @@ ADD etc/apt/apt.conf /etc/apt/apt.conf
|
||||||
ADD etc/locale.gen /etc/locale.gen
|
ADD etc/locale.gen /etc/locale.gen
|
||||||
|
|
||||||
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -o Dpkg::Options::="--force-confdef" \
|
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -o Dpkg::Options::="--force-confdef" \
|
||||||
-o Dpkg::Options::="--force-confold" install -y wget git zip unzip poppler-utils locales procps \
|
-o Dpkg::Options::="--force-confold" install -y wget git zip unzip poppler-utils locales procps cron \
|
||||||
graphviz patchutils sphinxsearch mc nginx perl mariadb-server libreoffice libdbi-perl libdatetime-perl libemail-address-perl \
|
graphviz patchutils sphinxsearch mc nginx perl mariadb-server libreoffice libdbi-perl libdatetime-perl libemail-address-perl \
|
||||||
libtemplate-perl libjson-perl libemail-mime-perl libtest-taint-perl \
|
libtemplate-perl libjson-perl libemail-mime-perl libtest-taint-perl \
|
||||||
libxml-twig-perl libtext-tabulardisplay-perl libemail-sender-perl \
|
libxml-twig-perl libtext-tabulardisplay-perl libemail-sender-perl \
|
||||||
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
0 * * * * www-data cd /home/bugzilla && /usr/bin/perl -T /home/bugzilla/whine.pl
|
||||||
|
0 5 * * * www-data cd /home/bugzilla && (./collectstats.pl -1 2>&1 | /usr/bin/pcregrep -v 'Subroutine Text::TabularDisplay::_column_length redefined|Subroutine Encode::MIME::Header::encode redefined|Wide character in print at' 1>&2)
|
|
@ -6,6 +6,7 @@ service sphinxsearch start
|
||||||
service mysql start
|
service mysql start
|
||||||
service bugzilla start
|
service bugzilla start
|
||||||
service bugzilla-jobs start
|
service bugzilla-jobs start
|
||||||
|
service cron start
|
||||||
|
|
||||||
# Keep container running
|
# Keep container running
|
||||||
tail -fn0 /dev/null
|
tail -fn0 /dev/null
|
||||||
|
|
Loading…
Reference in New Issue