# DO NOT EDIT - This file is being maintained by Chef
MAILTO=horntail-www-data-cron@firefishy.com
-20 */2 * * * www-data /usr/local/bin/planet-mirror-redirect-update
+*/10 * * * * www-data /usr/local/bin/planet-mirror-redirect-update
if ($dh = opendir($_PLANET_FOLDER)) {
while (($file = readdir($dh)) !== false ) {
if (preg_match($_PLANET_REGEX, $file)) {
- $file_slashed = $FOLDER['DIR_PREFIX'].str_replace(array('.','-'), array('\.','\-'), $file);
+ $file_slashed = str_replace(array('.','-'), array('\.','\-'), $FOLDER['DIR_PREFIX'].$file);
if (strpos($htaccess_contents, $file_slashed) === false) {
$file_size = filesize($_PLANET_FOLDER.$file);
sleep(rand(2,5));