Not yet - will try now - and get back - thanks for some help on this,
Hello Again, and thanks for input,
One more thing to add - I am trying to run this cron job on a vCenter Server Appliance - not a plain old Esxi host.
Could it be that I cannot run a cron job on a VCSA??
But cron job is flat not running, There must be some basic setting or feature that I am missing.
The root crontab file is located in /var/spool/cron/tabs/root - This is for vCenter ver 6.0 U3
This is on a vCenter server appliance - suse linux based.
the script has #/!bin/sh
I can stop and start cron - no longer called crond. so the pid is cron.pid, etc
I get no info in the /var/log/cron file, Here is my cron job file: - set to run every minute just for testing:
* * * * * /root/monitor > /root/cron.log 2>&1
I get no data in the cron.log file either.
There is a file in cron.hourly - netnumber - I do not think that runs either.
Here is a copy of my crond file:
# The PAM configuration file for the cron daemon
auth sufficient pam_rootok.so
auth include common-auth
account include common-account
password include common-password
session required pam_loginuid.so
session include common-session-su
session optional pam_env.so
I have the script in the /root directory on the host. I can run the script from the command line, of course, it works...
Any other suggestions?