<data:blog.pageTitle/>

This Page

has moved to a new address:

https://vmvirtual.blog

Sorry for the inconvenience…

Redirection provided by Blogger to WordPress Migration Service
BIOLNX: novembre 2011

BIOLNX

sabato 5 novembre 2011

Schedule Cron JOB esxi

# cd /var/spool/cron/crontabs
Editare il classico file di root
Killare il processo di crond
/var/spool/cron/crontabs # kill $(cat /var/run/crond.pid)
Riavviare il processo di crond
/var/spool/cron/crontabs # busybox crond
Al prossimo reboot il server avra perso il processo in crontab quindi ....
To schedule a local cron-job and have it be persistent (not lost at reboot) add the following lines to /etc/rc.local /bin/echo "0 9 * * * xxxxxxxxxxx" >> /var/spool/cron/crontabs/root
/bin/busybox crond -b

then run auto-backup.sh it will backup the changes to the rc.local file