I am looking for guidance to create a job which can delete the core logs at /storage/core location on vCenter 5.0 (An appliance)
A legacy environment which has trouble with free space on logs filling the file system. As of now, we are manually deleting it, but need to automate it to run every 72 hours.
This is the command set which has to be run with 60 seconds interval between each command.
cd /storage/core service vmware-vpxd stop rm -rf core*.* service vmware-vpxd start |
To run the script periodically, you have to try a cron job.
https://www.virten.net/2014/12/how-to-create-a-cron-job-on-vma/
Cronjob cannot be created on Vcenter itself rather than using another appliance to implement that?
Thanks man was facing same issue