diff --git a/scripts/send-maintenance-notifications.php b/scripts/send-maintenance-notifications.php new file mode 100755 index 000000000..4c3a05dd7 --- /dev/null +++ b/scripts/send-maintenance-notifications.php @@ -0,0 +1,21 @@ +#!/usr/bin/php +id); +define("INTERNAL_USER_USERNAME", $me->username); +define("MFBASE_BYPASS_LOGIN", true); + +foreach(MaintenanceNotification::searchActive([]) as $notification) { + $notification->sendToRecipients(); +}