What is the best way to run chef-client apart from using a cron job?

I am aware that chef-client can be invoked using a cron job at particular intervals but i wanted to know if there is any other way to achieve this requirement.

You can run the chef-client as a daemon or service and have it check-in
periodically. This prevents the “thundering herd” problem of thousands of
nodes all checking in at the same time. Take a look at using the
chef-client cookbook to manage your deployments.

Thanks,
Matt Ray
Manager, Solutions Architect - APAC :: Chef
matt@chef.io
AUS: +61 457 231 372
US: +1 512 731 2218
mattray :: GitHub :: IRC :: Twitter

1 Like