VMware {code} Community
MDRR73
Contributor
Contributor

Custom cron job in Vcenter Server appliance 6.7 version

Hi,

In vcenter 6.7 version, Can we create and schedule a cron job for executing the bash / perl script and the purpose of this bash / perl script is to generate local users customized report once in a 3 months and will be saved as the "Servername + ddmmyyhhmmss.log" .

As of now ,After logging into vsphere shell console using root privilege I am extracting this customized local user reports by executing the scripts manually every once in 3 months and I want to avoid this manual steps.

Thank you 

 

 

Reply
0 Kudos
2 Replies
fabio1975
Commander
Commander

Ciao 

you can try this suggestion:

cron jobs on vcsa 6.7 – Nick's Container on the cloud 😉 (ntitta.in)

vCenter Server Appliance 6.5 stops sending alert emails (54526) (vmware.com)

and for schedule every 3 months you can use on this crontab combination on file .cron

30 03 01 */3 *

fabio1975_0-1650015402199.png

 

Fabio

Visit vmvirtual.blog
If you're satisfied give me a kudos

MDRR73
Contributor
Contributor

Thank you , I will check this 

Regards

Reply
0 Kudos