Created
February 24, 2017 07:43
-
-
Save cyriac/dae5d3963563091e002dc9208d616ef5 to your computer and use it in GitHub Desktop.
Self maintaining gitlab cron
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0 0 * * * /usr/bin/letsencrypt renew >> /var/log/le-renew.log | |
0 */12 * * * gitlab-rake gitlab:backup:create >> /var/log/gitlab-backup.log | |
0 0 * * * find /var/opt/gitlab/backups/ -name "*_gitlab_backup.tar" -mtime +1 -delete | |
0 0 * * 6 apt-get update && apt-get upgrade -y gitlab-ce |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment