|
|
@@ -111,19 +111,19 @@ class Route_Cron extends RouteBase {
|
|
|
<div class="container">
|
|
|
<h1>Cron</h1>
|
|
|
<?php DBG::_('DBG_CRON', '>0', 'todoReminders', $todoReminders, __CLASS__, __FUNCTION__, __LINE__); ?>
|
|
|
-</div>
|
|
|
<?php
|
|
|
|
|
|
foreach ($todoReminders as $who => $listWhen) {
|
|
|
foreach ($listWhen as $when => $listWhat) {
|
|
|
if (!empty($listWhat)) {
|
|
|
$reminders = array_keys($listWhat);
|
|
|
+ echo "<p>Sending to {$who} reminders [" . implode(",", $reminders) . "]</p>" . "\n";
|
|
|
$notify->send($who, $reminders, $forceMail = 'plabudda@biall-net.pl');
|
|
|
$notify->markAsSent($who, $reminders);
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
+echo "\n" . '</div>';// .container
|
|
|
echo "\n.EOF\n";
|
|
|
}
|
|
|
|