Date
1 - 6 of 6
Running scheduled bash script with bosh.
Alan moran <moranalan90@...>
Hello,
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 “check program”? Links: 1- https://lists.nongnu.org/archive/html/monit-general/2013-06/msg00063.html <https://lists.nongnu.org/archive/html/monit-general/2013-06/msg00063.html> 2- http://lists.nongnu.org/archive/html/monit-general/2011-09/msg00018.html <http://lists.nongnu.org/archive/html/monit-general/2011-09/msg00018.html> Thanks, David Brock && Alan Morán |
|
Gwenn Etourneau
Hi,
toggle quoted message
Show quoted text
I am curious about what do you try to achieve by running bash script with bosh ? Thanks On Wed, Aug 12, 2015 at 3:56 AM, Alan Moran <moranalan90(a)gmail.com> wrote:
|
|
Dr Nic Williams
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> wrote: Hi, -- Dr Nic Williams Stark & Wayne LLC - consultancy for Cloud Foundry users http://drnicwilliams.com http://starkandwayne.com cell +1 (415) 860-2185 twitter @drnic |
|
Dmitriy Kalinin
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 supervisor. On Tue, Aug 11, 2015 at 6:54 PM, Dr Nic Williams <drnicwilliams(a)gmail.com> wrote: You could try building a new stemcell with an upgraded monit. |
|
Gerhard
A simpler supervisor is great news! Do you have a specific one in mind?
toggle quoted message
Show quoted text
On Wednesday, 12 August 2015, Dmitriy Kalinin <dkalinin(a)pivotal.io> wrote:
I would recommend using cron for this. Have your ctl script add it to the |
|
Dmitriy Kalinin
It's probably something that would written specifically for the bosh-agent
to take advantage to different BOSH conventions. On Tue, Aug 11, 2015 at 11:06 PM, Gerhard Lazu <gerhard(a)cloudcredo.com> wrote: A simpler supervisor is great news! Do you have a specific one in mind? |
|