Hi From the documentation I can''t see if I can define the following schedule: I want a certain command to be run once a day, monday-friday on a certain time of the day. Can I define that somehow...? -- Med venlig hilsen Juri Rischel Jensen Fab:IT ApS Vesterbrogade 50 DK-1620 København Tlf: 70 202 407 / Fax: 33 313 640 www.fab-it.dk / juri@fab-it.dk
you should use the cron for that. Schedule in puppet only restrict the time when an action is launched, it cannot launch the action by itself. Cordialement, Ghislain _______________________________________________ Puppet-users mailing list Puppet-users@madstop.com https://mail.madstop.com/mailman/listinfo/puppet-users
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Oct 19, 2006, at 16:51, Adnet Ghislain wrote:> you should use the cron for that. Schedule in puppet only restrict > the time when an action is launched, it cannot launch the action by > itself.Ok, maybe I should rephrase the question: In a given timerange, once a day, monday-friday, I want to run a certain command with puppet - eg. between 4:30 and 6:00, monday-friday I want to check for security- updates. I''d like to keep that in the sitewide policy, instead of using cron for that. But if puppet can''t do it, I''ll have to use it... - -- Med venlig hilsen Juri Rischel Jensen Fab:IT ApS Vesterbrogade 50 DK-1620 København Tlf: 70 202 407 / Fax: 33 313 640 www.fab-it.dk / juri@fab-it.dk -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (Darwin) iD8DBQFFN587b1BlafYW/9YRAlPFAKCGznn7YGbUDTzIPc5A8GEd9peulgCfQbXA Nhmq1Fu/Di0uLvlr9fPTz2o=cA5I -----END PGP SIGNATURE-----
Juri Rischel Jensen wrote:> > Ok, maybe I should rephrase the question: In a given timerange, once > a day, monday-friday, I want to run a certain command with puppet - > eg. between 4:30 and 6:00, monday-friday I want to check for security- > updates. I''d like to keep that in the sitewide policy, instead of > using cron for that. But if puppet can''t do it, I''ll have to use it...You cannot accomplish this with Puppet right now; you could perform the check every day during that time frame, but you cannot skip the weekend at this point. -- I have lost friends, some by death... others through sheer inability to cross the street. -- Virginia Woolf --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com