diff --git a/Dockerfile b/Dockerfile index 0f45c27..52a987a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,4 +4,11 @@ WORKDIR /app COPY ./ /app -RUN composer install \ No newline at end of file +RUN composer install + +RUN (crontab -l ; echo "*/2 * * * * /usr/local/bin/php /app/oil refine server:ping")| crontab - +RUN (crontab -l ; echo "*/2 * * * * /usr/local/bin/php /app/oil refine server:ping")| crontab - +RUN (crontab -l ; echo "*/5 * * * * /usr/local/bin/php /app/oil refine server:browseServers")| crontab - +RUN (crontab -l ; echo "*/5 * * * * /usr/local/bin/php /app/oil refine server:browseServers")| crontab - +RUN (crontab -l ; echo "0 5 1 * * /usr/local/bin/php /app/oil refine server:checkNotFound")| crontab - +RUN (crontab -l ; echo "0 5 1 * * /usr/local/bin/php /app/oil refine server:checkNotFound")| crontab - \ No newline at end of file