diff --git a/maintenance/Dockerfile b/maintenance/Dockerfile index 31b2a50..cfdaa00 100644 --- a/maintenance/Dockerfile +++ b/maintenance/Dockerfile @@ -1,4 +1,4 @@ -FROM mongo:latest +FROM mongo:3.4 MAINTAINER The SlideWiki Project # ---------------- # @@ -37,5 +37,5 @@ RUN apt-get autoremove -y && apt-get -y clean && \ rm -rf /var/lib/apt/lists/* Entrypoint [] -#CMD supervisord -CMD http-server -p 80 -i +CMD supervisord +#CMD http-server -p 80 -i diff --git a/maintenance/crontab b/maintenance/crontab index 93ccbd7..681de70 100644 --- a/maintenance/crontab +++ b/maintenance/crontab @@ -1,2 +1,3 @@ -@daily root /backup.sh &>> /var/log/cron.log +0 0 * * * root /backup.sh >> /var/log/cron.log 2>&1 +#* * * * * root echo "Hello world" >> /var/log/cron.log 2>&1 # An empty line is required at the end of this file for a valid cron file.