added crontab
This commit is contained in:
21
crontab
Normal file
21
crontab
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
#.---------------- [m]inute: minuto (0 - 59)
|
||||||
|
#| .------------- [h]our: ora (0 - 23)
|
||||||
|
#| | .---------- [d]ay [o]f [m]onth: giorno del mese (1 - 31)
|
||||||
|
#| | | .------- [mon]th: mese (1 - 12) OPPURE jan,feb,mar,apr...
|
||||||
|
#| | | | .---- [d]ay [o]f [w]eek: giorno della settimana (0 - 7) (la domenica vale 0 o 7) OPPURE sun,mon,tue,wed,thu,fri,sat
|
||||||
|
#| | | | |
|
||||||
|
#
|
||||||
|
#* * * * * user comando
|
||||||
|
|
||||||
|
# Ogni giorno alle 13.30 e alle 01.30 viene eseguito lo snapshot della VM
|
||||||
|
30 13 * * * /etc/backup/scripts/contabo-snap/contabo-snap.sh
|
||||||
|
30 1 * * * /etc/backup/scripts/contabo-snap/contabo-snap.sh
|
||||||
|
# Ogni due ore viene eseguito un backup tramite borg
|
||||||
|
0 */2 * * * /etc/backup/scripts/borg/borgbackup.sh
|
||||||
|
# Ogni 7 minuti vengono controllati lo spazio disco e la RAM libera
|
||||||
|
*/7 * * * * /etc/backup/scripts/system/system-alerts.sh
|
||||||
|
# Ogni giorno alle 21 vengono cercati gli aggiornamenti
|
||||||
|
00 21 * * * /etc/backup/scripts/system/system-updates.sh
|
||||||
|
#@weekly docker system prune -af
|
||||||
|
# Ogni ora vengono controllati i certificati di mailcow
|
||||||
|
0 * * * * /bin/bash /etc/novemila/mailcow-dockerized/deploy-certs.sh >/dev/null 2>&1
|
Reference in New Issue
Block a user