Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 258290

Completely unable to get a cron job to run anywhere

$
0
0

Hello members,

 

I have an update to this issue. for some reason the various cron files on

my VCSA have quite running. The "logrotate" file in cron.daily used to run daily. the log rotation

stopped on Aug 20, 2019. No rotation of any logs that are jobs in the various areas where cron jobs are defined.

 

I did run the logroate script manually and it did rotate the audit.log. For some reason, even though cron shows as

a pid (cron.pid) and shows in ps A | grep cron - nothing is happening - jobs are not running.

 

I have attempted to run a simple script as a cron job on an Esxi vCenter host.

Version 6.0 - latest.

I have tried crontab -e, placing script in cron.hourly, placing a file referencing the script in /etc/cron.d and running every 5 min.

it seems that crontab -3 references /var/spool/cron/tabs/root.

 

None of these methods worked. I have also stopped and restarted the cron pid

Is there any way to get a cron job I created to run from a script?

 

Thanks,

 

Eholz1

 

Message was edited by: oliver g


Viewing all articles
Browse latest Browse all 258290

Trending Articles



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