Hi there,
Im trying to setup a cronjob to email the vmwarevSphereCheck report daily/weekly. However setup in the crontab - nothing happens. I don't get an email.
This is a snipnet from my crontab.
*/6 * * * * root run-parts /home/vi-admin/vmwarevSphereHealthCheck/vmwarevSphereHealthCheck.pl --conf /home/vi-admin/vmwarevSphereHealthCheck/t*****2.conf --username domain\\username --password G******* --datacenter TO***** --email yes --type datacenter --server vcenter
I am able to run the job from within the directory with the (( ./vmwarevSphereHealthCheck.pl)) command - but nothing...
I have also tried to setup a shell script. Again it runs if I manually do it - but it doesn't run from cron.
I have enabled the root account as well in /etc/passwd. Nothing again.
I know its not a permissions issue because the script runs if I do it manually - just not sure if the crontab job is setup correctly or if Im missing something in my script..
But I noticed that once I've enabled the root account I get the above error if I run the full path. Error connecting to server at 'https://localhost/sdk/webService': Connection refused...
Any ideas?
thanks in advance...