Hello Looks like your intent is to run that daily? I'd use cron.daily for that. That mean you script runs even if the server is not on at midnight.
what web applications do you run? You do NOT generally want apache owning the web content. Apache should mostly have read access and only write to files it needs. That's storage areas in php apps etc. And those should be outside the webroot. Looks like your users upload with ftp I'd do away with these checks and have you ftp server set the group and permissions so apache can read the files. Neil Also you could consider wrapping these in a flock to prevent actions piling= up behind each other - like described here: http://www.elevatedcode.com/2013/05/07/flock-for-cron-jobs.html Many other examples on the net. Ok, Dan. That's really good info! Thanks and I'll be sure to check it out!! Tim Sent from my iPhone On May 1, 2015, at 7:36 PM, Denmat <[email protected]> wrote: Also you could consider wrapping these in a flock to prevent actions piling= up behind each other - like described here: http://www.elevatedcode.com/2013/05/07/flock-for-cron-jobs.html Many other examples on the net. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/26679809-7CD9-4007-AE99-587EDC4E1132%40gmail.com <https://groups.google.com/d/msgid/puppet-users/26679809-7CD9-4007-AE99-587EDC4E1132%40gmail.com?utm_medium=email&utm_source=footer> . For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CAAohVBfAAy2CGS8YfaMmhT5oVuF-UwR4iGmcTmMp_E%2BX-TQ5Pg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
