prepare_email(cursos@tseyor.com,Shilcars2012)
            SELECT t.edicion, t.nick, t.ciudad, t.ip_pais, t.pais, t.email, t.email2, t.tutores, t.horario, t.recordatorio FROM (SELECT `edicion`, `nick`, `ciudad`, `ip_pais`, `pais`, `email`, `email2`, `tutores`, `horario`, `recordatorio` FROM `inscritos` LEFT JOIN `ediciones` e ON `edicion`=`numero` WHERE `recordatorio` IN (0, 1, 4, 5) AND ( (CURDATE() + INTERVAL 7 DAY>(`fecha` + INTERVAL 1 DAY) AND horario = 'Lunes_Argentina') OR (CURDATE() + INTERVAL 7 DAY>(`fecha` + INTERVAL 3 DAY) AND horario = 'Miercoles_España') OR (CURDATE() + INTERVAL 7 DAY>(`fecha` + INTERVAL 3 DAY) AND horario = 'Miercoles_y_Viernes_México') OR (CURDATE() + INTERVAL 7 DAY>(`fecha` + INTERVAL 5 DAY) AND horario = 'Viernes_Peru') OR (CURDATE() + INTERVAL 7 DAY>(`fecha` + INTERVAL 6 DAY) AND horario = 'Sabado_Mexico') ) ORDER BY `fecha_inscr` DESC ) t GROUP BY `email` ORDER BY t.horario
            No hay recordatorios pendientes o es demasiado pronto para mandarlos.
            SELECT t.id, t.edicion, t.email, t.horario_str, t.huso, t.tutores, t.primer_dia, t.nick, t.fecha, t.horario, t.recordatorio FROM (SELECT `id`, `edicion`, `email`, `horario_str`, `huso`, `tutores`, `primer_dia`, `nick`, `fecha`, `horario`, `recordatorio` FROM `inscritos` LEFT JOIN `ediciones` e ON `edicion`=`numero` WHERE `recordatorio` IN (0, 2, 4, 6) AND ( (CURDATE() + INTERVAL 3 DAY>(`fecha` + INTERVAL 1 DAY) AND horario = 'Lunes_Argentina') OR (CURDATE() + INTERVAL 3 DAY>(`fecha` + INTERVAL 3 DAY) AND horario = 'Miercoles_España') OR (CURDATE() + INTERVAL 3 DAY>(`fecha` + INTERVAL 3 DAY) AND horario = 'Miercoles_y_Viernes_México') OR (CURDATE() + INTERVAL 3 DAY>(`fecha` + INTERVAL 5 DAY) AND horario = 'Viernes_Peru') OR (CURDATE() + INTERVAL 3 DAY>(`fecha` + INTERVAL 6 DAY) AND horario = 'Sabado_Mexico') ) ORDER BY `fecha_inscr` DESC ) t GROUP BY `email` LIMIT 25
            No hay recordatorios pendientes o es demasiado pronto para mandarlos.
            prepare_email(formulario@tseyor.com,Shilcars2012)
            No hay nada que mandar.
      } (218,71 ms)
} (392,45 ms)
url=/formulario/cron.php
Writing profile results
file_write(/hermes/bosnacweb02/bosnacweb02ab/b1197/glo.tseyor/_cache/normalize_url_cache.json,...)
================ file_cache_stats: ==============
array ( '/hermes/bosnacweb02/bosnacweb02ab/b1197/glo.tseyor/admin/data/users.json' => 2, )
preparing results
PROFILER RESULTS: /formulario/cron.php % main: 1 calls => 392 ms % serve_file: 1 calls => 219 ms % login: 1 calls => 136 ms % user_can_view: 1 calls => 113 ms % get_url_data: 1 calls => 87 ms % include: 5 calls => 72 ms % get_files_data: 1 calls => 25 ms % _lock_file: 4 calls => 20 ms % user_get_data: 4 calls => 20 ms % _unlock_file: 4 calls => 4 ms % init_database: 2 calls => 3 ms % db_init: 1 calls => 2 ms DETAILED: % main: 1 calls => 392 ms % serve_file: 1 calls => 219 ms % login: 1 calls => 136 ms % user_can_view(user, /formulario/cron.php): 1 calls => 113 ms % get_url_data(/formulario/cron.php): 1 calls => 87 ms % include functions.login.php: 1 calls => 38 ms % include functions.user.php: 1 calls => 25 ms % get_files_data(/formulario/): 1 calls => 25 ms % _lock_file(/hermes/bosnacweb02/bosnacweb02ab/b1197/glo.tseyor/formulario/.files): 1 calls => 15 ms % user_get_data(user, , 1)): 1 calls => 8 ms % user_get_data(user, permissions, 1)): 1 calls => 6 ms % user_get_data(user, name, 1)): 1 calls => 6 ms % _lock_file(/hermes/bosnacweb02/bosnacweb02ab/b1197/glo.tseyor/admin/data/users.json): 3 calls => 6 ms % include functions.server.php: 1 calls => 5 ms % include functions.others.php: 1 calls => 4 ms % init_database: 2 calls => 3 ms % _unlock_file(/hermes/bosnacweb02/bosnacweb02ab/b1197/glo.tseyor/admin/data/users.json): 3 calls => 3 ms % db_init(): 1 calls => 2 ms % _unlock_file(/hermes/bosnacweb02/bosnacweb02ab/b1197/glo.tseyor/formulario/.files): 1 calls => 1 ms % user_get_data(user, level, 1)): 1 calls => 0 ms % include functions.path.php: 1 calls => 0 ms