Automate Node update

How can I set the time interval to update the node in timely manner?

I’m quite confused here as per my little search we can use chef-client -i <time in sec> , but what is the correct syntax to use this command and on which machine I’m supposed to run it?
Or is there any other way I can set the time interval in client.rb in node to update itself in a particular time interval?

Hi, I recommend you use the cron in Linux or the task sheduler in Windows.

Regards.

I would suggest ensuring that chef-client is running as a service, I use this cookbook which sets up chef-client with runnit.