Skip to content

Cron de ejemplo para automantenimiento

tombatossals edited this page Dec 15, 2014 · 2 revisions
SHELL=/bin/bash

# Backup mongo
00 0 * * * /home/davidrubert/gps/backup.sh
00 * * * * /home/davidrubert/gps/cli/manage.js update interfaces
10 * * * * /home/davidrubert/gps/cli/manage.js update links
20 * * * * /home/davidrubert/gps/cli/manage.js update routing
30 * * * * /home/davidrubert/gps/cli/manage.js update bandwidth
40 * * * * sudo /home/davidrubert/gps/cli/manage.js ping nodes
50 * * * * /home/davidrubert/gps/cli/manage.js update sysinfo
*/30 * * * * /home/davidrubert/gps/cli/manage.js update ospf