I would recommend using cron for this. Have your ctl script add it to the
crontab when it's started and remove it when it stopped.
Regarding monit: we are planning to upgrade it once more (https://github.com/cloudfoundry/bosh/pull/743
) but I would not recommend
relying on its features. eventually we will replace it with a simpler job
On Tue, Aug 11, 2015 at 6:54 PM, Dr Nic Williams <drnicwilliams(a)gmail.com>
You could try building a new stemcell with an upgraded monit.
On Tue, Aug 11, 2015 at 6:26 PM, Gwenn Etourneau <getourneau(a)pivotal.io>
I am curious about what do you try to achieve by running bash script with
On Wed, Aug 12, 2015 at 3:56 AM, Alan Moran <moranalan90(a)gmail.com>
We have been working to try and run a bash script at a specified
interval with bosh. Our initial approach was to create a job and use the
“check program” feature within Monit. However, this requires Monit 5.3+
[1,2]. The version of Monit included in Stemcell is 5.2.4.
This makes us ask a couple of questions:
1- Is there a reason Monit is not being updated?
2- Is there an alternative approach that we can take besides using
David Brock && Alan Morán
Dr Nic Williams
Stark & Wayne LLC - consultancy for Cloud Foundry users
cell +1 (415) 860-2185