You are not logged in.
Pages: 1
I have removed the cron and added it back in with the xsibackup gui.
I have run the command from the command line directly and it works.
my crontab below.
Thoughts please?
[root@esxi-38:/vmfs/volumes/5bc410e3-ae8c84a6-07cf-5cf3fc1d7030/xsi-dir] cat /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/stats/sh
00 1 * * * localcli storage core device purge
0 8 * * * "/vmfs/volumes/datastore1/xsi-dir/jobs/038" # Added by XSIBackup
Offline
What is the issue?
The cron is not being triggered?.
Please, follow the procedure in this post to debug your cron functioning, its detailed and explained step by step.
[url=https://33hops.com/xsibackup-cron-troubleshooting.html](c)XSIBackup Classic: troubleshooting the (c)ESXi cron[/url]
Offline
Sorry
Use the crontab does not trigger automatically
Thanks
Offline
1.
/vmfs/volumes/datastore1/xsi-dir/jobs/038
this command starts the backup process
2.
[root@esxi-38:/vmfs/volumes/5bc410e3-ae8c84a6-07cf-5cf3fc1d7030/xsi-dir] for p in $(ps -c | grep -v grep | grep 'busybox crond' | awk '{print $1}'); \
> do kill -9 $p;done; \
> /usr/lib/vmware/busybox/bin/busybox crond; \
> ps -c | grep -v grep | grep 'busybox crond'
2271343 2271343 busybox /usr/lib/vmware/busybox/bin/busybox crond
3.
[root@esxi-38:/vmfs/volumes/5bc410e3-ae8c84a6-07cf-5cf3fc1d7030/xsi-dir] ls -al /var/spool/cron/crontabs/root
-rwx------ 1 root root 399 Feb 21 00:23 /var/spool/cron/crontabs/root
[root@esxi-38:/vmfs/volumes/5bc410e3-ae8c84a6-07cf-5cf3fc1d7030/xsi-dir] tail -f /tmp/my-cron-test.txt
Tue Feb 26 20:56:01 UTC 2019
Tue Feb 26 20:57:01 UTC 2019
Tue Feb 26 20:58:01 UTC 2019
Offline
Well, your cron is working and your job is working too, you are almost there. You must be overlooking something, may be some permission issue.
We are sorry but we are not getting what you mean here: "Use the crontab does not trigger automatically"
Offline
"Use the crontab does not trigger automatically"
Apologies,
cron is not triggering the xsibackup process automatically
Offline
Well, we don't know how we can help you any further. You do have a working cron. You have posted above the output of a working cron schedule adding the date to your test file [b]/tmp/my-cron-test.txt[/b]. Just change the command adding the file by your backup job and tweak the hour to your desired backup time.
Contact support if you still need some help with this.
Offline
Pages: 1