Quantcast
Channel: VMware Communities : Popular Discussions - vSphere Management Assistant (vMA)
Viewing all articles
Browse latest Browse all 25377

Creating a cron job

$
0
0

Hello all,

 

I'm using the VMware Health Check v0.9.4 script by William Lam. The script works great from the VIMA appliance but when I try to setup a cron job it does not execute.

 

Here are the contents of my crontab file;

 

SHELL=/bin/bash

PATH=/sbin:/bin:/usr/sbin:/usr/bin

MAILTO=root

HOME=/

 

  1. run-parts

01 * * * * root run-parts /etc/cron.hourly

02 4 * * * root run-parts /etc/cron.daily

22 4 * * 0 root run-parts /etc/cron.weekly

42 4 1 * * root run-parts /etc/cron.monthly

##############################################

  1. m h dom mon dow user  command

 

55 14  *   *   *  vi-admin      /usr/bin/vmwareHealthCheck.pl --type "vcenter" --server "sna9ctr1" --username

"******" --password "***********"

 

I'm sure it is something simple. BTW - Thanks for a great script William!!

 

Thanks,

 

-rp


Viewing all articles
Browse latest Browse all 25377


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>