Pular para conteúdo

ARK7 srv arq crontab

Servidor de Arquivos - Crontab

# /etc/crontab: system-wide crontab
# Unlike any other crontab you don't have to run the `crontab'
# command to install the new version when you edit this file
# and files in /etc/cron.d. These files also have username fields,
# that none of the other crontabs do.
MAILTO=""
SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin

# m h dom mon dow user  command
17 *    * * *   root    cd / && run-parts --report /etc/cron.hourly
25 6    * * *   root    test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
47 6    * * 7   root    test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.weekly )
52 6    1 * *   root    test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.monthly )
#

0 12 * * * root /usr/sbin/ntpdate br.pool.ntp.org

#BACKUPS
#0 20   * * 1-5 root    /home/lupa/scripts/backupRdiff.sh
#0 20   * * 6   root    /home/lupa/scripts/backup_semanal.sh

#Monitoramento de espaço em disco
0 */8   * * *   root    /home/lupa/scripts/monitoramento/espaco_hd.sh

#LIMPA MEMORIA
0 */12  * * *   root    /home/lupa/scripts/limpa_memoria.sh

#SINCRONISMO ENTRE DISCOS
0 23   * * *    root    rsync -avP --delete /projetos/ /projeto_espelho/projetos/
0 22   * * *   root    rsync -avP --delete /dados/ /projeto_espelho/dados/

Categoria:Scripts