title: Restart Jenkins slave from master
body: <p>I use jenkins master-slave configuration for capturing Performance metrics of a product. We have observed that jenkins-slave tends to accumulate memory and thus influences the Performance metrics being captured.</p>
  
  <p>To ensure consistency of the metrics being captured, we are thinking of restarting jenkins slave every day from the master, when there are no jobs running on the slave. Is this feasible?</p>
  
  <p>How can we accomplish it?</p>
  
  <p>Note: Using jenkins-slave as a service is not an option because we are having other security access issues with it.</p>