Merge pull request #11473 from overleaf/msm-ce-deletion-cron

[CE/SP] `cron` jobs for resource deletion

GitOrigin-RevId: 7d690340f11cb4aaf38653fdcca6b7944f9a4d0b
This commit is contained in:
Miguel Serrano
2023-05-09 20:03:46 +02:00
committed by Copybot
parent 0ffa75979f
commit 11dc9712eb
6 changed files with 85 additions and 0 deletions

View File

@@ -51,6 +51,8 @@ RUN chmod 644 /etc/logrotate.d/sharelatex
ADD server-ce/cron /overleaf/cron
ADD server-ce/config/crontab-history /etc/cron.d/crontab-history
RUN chmod 600 /etc/cron.d/crontab-history
ADD server-ce/config/crontab-deletion /etc/cron.d/crontab-deletion
RUN chmod 600 /etc/cron.d/crontab-deletion
# Copy Phusion Image startup and shutdown scripts to their locations
# ------------------------------------------------------------------