Time interval within execution of scripts from the server

20 views
Skip to first unread message

mukulm

unread,
Feb 9, 2012, 9:00:27 AM2/9/12
to Puppet Users

Hi,

I have multiple script to be copied & executed from the puppet server
on the client systems but i want to execute
each script within a timeframe such as hourly, weekly or monthly from
the puppet server as i dont want to execute all scripts on the same
frequency.

Any help will be greatly appreciated.

Thanks
mukulm

Dan White

unread,
Feb 9, 2012, 9:16:25 AM2/9/12
to puppet...@googlegroups.com
Have you considered "cron" ?

“Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us.”
Bill Waterson (Calvin & Hobbes)

> --
> You received this message because you are subscribed to the Google Groups "Puppet Users" group.
> To post to this group, send email to puppet...@googlegroups.com.
> To unsubscribe from this group, send email to puppet-users...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
>

Ygor

unread,
Feb 10, 2012, 8:45:18 AM2/10/12
to Puppet Users

mukulm

unread,
Feb 12, 2012, 7:34:26 AM2/12/12
to Puppet Users


Hi,

I am running multiple scripts on number of machines through puppet
server as my server is CentOS 5.6 & clients are Ubuntu 11.04 & the
scripts are executed in above 2000 clients/nodes so I dont want to
execute the scripts on multiple nodes at the same time.

Thanks
mukulm


On Feb 10, 6:45 pm, Ygor <y...@comcast.net> wrote:
> http://lmgtfy.com/?q=cron+random+delay
>
> Inserting Random Delay In Cron Jobshttp://www.moundalexis.com/archives/000076.php

Dan White

unread,
Feb 12, 2012, 11:35:47 AM2/12/12
to puppet...@googlegroups.com
Filling in discussion that happened off-list:

On Feb 12, 2012, at 7:34 AM, mukulm wrote:

>
>
> Hi,
>
> I am running multiple scripts on number of machines through puppet
> server as my server is CentOS 5.6 & clients are Ubuntu 11.04 & the
> scripts are executed in above 2000 clients/nodes so I dont want to
> execute the scripts on multiple nodes at the same time.
>
> Thanks
> mukulm
>

On Feb 11, 2012, at 11:10 AM, Dan White wrote:

> I do not use Puppet in that large an environment, so I would only be guessing at solutions.
> consider http://puppetlabs.com/mcollective/
> I think it was designed for situations like yours.


>
> On Feb 10, 6:45 pm, Dan White wrote:
>> http://lmgtfy.com/?q=cron+random+delay
>>
>> Inserting Random Delay In Cron Jobshttp://www.moundalexis.com/archives/000076.php
>>
>> On Feb 9, 9:00 am, mukulm <smilemukul2...@gmail.com> wrote:
>>> Hi,
>>
>>> I have multiple script to be copied & executed from the puppet server
>>> on the client systems but i want to execute
>>> each script within a timeframe such as hourly, weekly or monthly from
>>> the puppet server as i dont want to execute all scripts on the same
>>> frequency.
>>
>>> Any help will be greatly appreciated.
>>
>>> Thanks
>>> mukulm
>

>> > On Thu, Feb 9, 2012 at 9:32 PM, Dan White wrote:
>> > >
>> > > http://keymon.wordpress.com/2010/08/06/setup-puppet-client-to-run-in-a-cron-task-with-a-random-minute/

Reply all
Reply to author
Forward
0 new messages