Answer the question
In order to leave comments, you need to log in
WMWare ghettoVCB script and crontab won't start?
Good afternoon! I set up the ghettoVCB script to copy virtual machines on two hypers (the first is ESXi 5.5, the second is ESXi 6.7). Here is the contents of the file /var/spool/cron/crontabs/root
#min hour day mon dow command
1 1 * * * /sbin/tmpwatch.py
1 * * * * /sbin/auto-backup.sh
0 * * * * /usr/lib/vmware/vmksummary/log-heartbeat.py
*/5 * * * * /bin/hostd-probe.sh ++group=host/vim/vmvisor/hostd-probe/s tats/sh
00 1 * * * localcli storage core device purge
0 18 0 0 6 /vmfs/volumes/505739e6-46f6c0a2-1675-002590d6d375/ghettoVCB/ghettoVCB-master/ghettoVCB.sh -f ./vmlist -g ./ghettoVCB.conf -l ./log
Answer the question
In order to leave comments, you need to log in
man 5 crontab:
The time and date fields are:
field allowed values
----- --------------
minute 0-59
hour 0-23
day of week 0-7 (0 or 7 is Sunday, or use names)
A field may contain an asterisk (*), which always stands for "first-last".
#min hour day mon dow command
0 18 * * 6 ghettoVCB.sh
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question