One last question re: the cron cookbook. How do you get it to run every 5 minutes?cron_d 'plugin_script' dominute 5hourcommand "/root/plugin.sh"user "root"^^ Would run every hour at 1:05, 2:05cron_d 'plugin_script' dominute /5hourcommand "/root/plugin.sh"user "root"^^ Doesn't like the regex syntaxNikhil Shah / System AdministratorThe Orchard® / www.theorchard.com23 E. 4th St., 3rd Fl / New York, NY 10003The Daily Rind™ / www.dailyrindblog.com
Facebook / @orchtweets
Privileged 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 < " target="_blank"> > 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).-MOn Wed, Sep 4, 2013 at 3:20 PM, Nikhil Shah < " target="_blank"> > wrote:Is the below section actually taking the script from your /tmp folder and uploading it to the server in the /tmp directory?Nikhil Shah / System AdministratorThe Orchard® / www.theorchard.com23 E. 4th St., 3rd Fl / New York, NY 10003The Daily Rind™ / www.dailyrindblog.com
Facebook / @orchtweets
Privileged 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:13 PM, Mike < " target="_blank"> > wrote:cookbook_file '/tmp/my_special_script.sh' domode 00755end
Archive powered by MHonArc 2.6.16.