#!/usr/bin/php id); define("INTERNAL_USER_USERNAME", $me->username); define("MFBASE_BYPASS_LOGIN", true); foreach(MaintenanceNotification::searchActive(["send_ts<" => date("U")]) as $notification) { $notification->sendToRecipients(); }