Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # stolen from http://kb.gtkc.net/adding-a-cron-job-to-vmware-esxi/
- # add these lines to /etc/rc.local.d/local.sh
- # killing cron process
- /bin/kill $(cat /var/run/crond.pid)
- # adding schedule string to crontab. BTW, excellent cron calc situates here: https://crontab.guru/
- /bin/echo '30 1 * * * /vmfs/volumes/datastore2/hp/check_disk.sh > /dev/null 2>&1' >> /var/spool/cron/crontabs/root
- # starting crond
- /usr/lib/vmware/busybox/bin/busybox crond
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement