disregard my last =)
Nikhil Shah / System Administrator
t (+1) 212.308.5648 / f (+1) 212.201.9203 23 E. 4th St., 3rd Fl / New York, NY 10003
The Daily Rind™ / www.dailyrindblog.comFacebook / @orchtweetsPrivileged And Confidential Communication.This electronic transmission, and any documents attached hereto, (a) are protected by the Electronic Communications Privacy Act (18 USC §§ 2510-2521), (b) may contain confidential and/or legally privileged information, and (c) are for the sole use of the intended recipient named above. If you have received this electronic message in error, please notify the sender and delete the electronic message. Any disclosure, copying, distribution, or use of the contents of the information received in error is strictly prohibited.
On Sep 4, 2013, at 3:48 PM, Nikhil Shah <
">
> wrote: One last question re: the cron cookbook. How do you get it to run every 5 minutes?
cron_d 'plugin_script' do minute 5 hour command "/root/plugin.sh" user "root"
^^ Would run every hour at 1:05, 2:05
cron_d 'plugin_script' do minute /5 hour command "/root/plugin.sh" user "root"
^^ Doesn't like the regex syntax
Nikhil Shah / System Administrator
t (+1) 212.308.5648 / f (+1) 212.201.9203 23 E. 4th St., 3rd Fl / New York, NY 10003
The Daily Rind™ / www.dailyrindblog.comFacebook / @orchtweetsPrivileged And Confidential Communication.This electronic transmission, and any documents attached hereto, (a) are protected by the Electronic Communications Privacy Act (18 USC §§ 2510-2521), (b) may contain confidential and/or legally privileged information, and (c) are for the sole use of the intended recipient named above. If you have received this electronic message in error, please notify the sender and delete the electronic message. Any disclosure, copying, distribution, or use of the contents of the information received in error is strictly prohibited.
On Sep 4, 2013, at 3:24 PM, Mike <
">
> wrote: Nope, as Morgan pointed out, look at the behavior of the cookbook_file resource and understand where the resource will look for the file (within the files/ subdir in your cookbook). -M
|