Servidor Arquivos + Banco de Dados - Crontab
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
# For details see man 4 crontabs
# Example of job definition:
# .---------------- minute (0 - 59)
# | .------------- hour (0 - 23)
# | | .---------- day of month (1 - 31)
# | | | .------- month (1 - 12) OR jan,feb,mar,apr ...
# | | | | .---- day of week (0 - 6) (Sunday=0 or 7) OR sun,mon,tue,wed,thu,fri,sat
# | | | | |
# * * * * * user-name command to be executed
#Backup Remoto/Local ARQUIVOS
30 18 * * * root /home/lupa/scripts/bkp_arquivos_local.sh
#Backup Rermoto dos e-mails
30 23 * * 6 root /home/lupa/scripts/bkp_e-mails_remoto.sh
#
#Monitoramento de espaco em disco
0 */8 * * * root /home/lupa/scripts/monitoramento/espaco_hd.sh
#LIBERAR MEMÓRIA
*/30 * * * * root sync && sysctl vm.drop_caches=3 > /dev/null 2>&1