Hello everybody! :-) Need some help - can't understand how to create and run schedule job in current version. Please look:
# This is a backup job file example. It starts with the path to your
# xsibackup file and ends with the redirection to the log file. Please
# do make sure that you keep first and last lines, changing paths to
# match your working environment.
--description="XSITools backup of production VMs" \
--exec=yes >> "/vmfs/volumes/datastore1/xsi-dir/var/logs/xsibackup.log"
So I found file root-crontab:
# This crontab belongs to the root user, thus it starts by root-
# Add cron jobs to this file in the classic crond Linux way.
# This is an example of a backup job being run everyday at 2:00 a.m.
# change according to your needs and run ./xsibackup --update-cron
# min hour day mon dow command
09 10 * * * "/vmfs/volumes/datastore1/xsi-dir/jobs/001"
In my case it should run every day at 10:09 UTC but it doesn't work. And I don't see any entries to /vmfs/volumes/datastore1/xsi-dir/var/logs/xsibackup.log Why?
P.S. Already checked /conf/smtpsrvs - it works.
Please, follow this troubleshooting guide. ESXi's cron can be picky to configure, nevertheless once you have set it up it won't fail, do not worry about that.