Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,059 of 9,059 pages
About the help in other languages
All help pages

exp:notificationrun

Den Benachrichtigungsfilter ausführen: die Benachrichtigungen der wartenden Ereignisse und die fälligen Zusammenfassungen senden (Probelauf, außer mit --apply).

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/examples/commands/notificationrun.md

On this page

This page is a translation. Read the English original

exp:notificationrun

Den Benachrichtigungsfilter ausführen: die Benachrichtigungen der wartenden Ereignisse und die fälligen Zusammenfassungen senden (Probelauf, außer mit --apply).

Skript bin/php/notificationrun.php, Code in kernel/private/classes/commands/notificationrun.php. Führen Sie es im Wurzelverzeichnis der Installation aus, als der Benutzer, unter dem der Webserver läuft:

./console exp:notificationrun --help
./console exp:notification:run --help
./console exp:notify:run --help
php bin/php/notificationrun.php --help

Hilfetext

Was --help ausgibt, so wie der Befehl es schreibt:

Run the notifications
One pass of the notification cronjob part: a time event is made, every pending event goes through
every handler (subtree, collaboration, general digest), messages are sent or kept for a digest,
events nothing waits for are removed. The run is locked (a second one is refused while one runs),
recorded (exp:notification:status shows it) and audited.

Without --apply the command lists what would be sent (subject, number of recipients, masked
addresses) and changes nothing: the pass runs in a transaction that is rolled back and no mail is
handed to the transport. --apply sends. --dry-run is still accepted and means the same as no flag;
--apply together with --dry-run is a usage error (exit 2).
--mail-file-dir=<dir> forces the file transport for this process: the mail is written to <dir>
instead of being sent, whatever site.ini says. Use it for every trial.
--at=<time> sets the time of the time event (a date or timestamp), to try digest windows.

./console exp:notification:run
./console exp:notification:run --apply --mail-file-dir=var/tmp/notification-mail
./console exp:notification:run --apply

Optionen

OptionWertHilfe
--applyDie Nachrichten senden, die Ereignisse markieren und entfernen (Standard listet, was gesendet würde)
--dry-runDer Standard, beibehalten für Skripte, die die Option übergeben: auflisten, was gesendet würde, nichts ändern
--aterforderlichDer Zeitpunkt des Zeitereignisses: ein Datum (2026-10-05 08:00) oder ein Zeitstempel, Standard jetzt
--eventerforderlichNur diese Ereignisse (IDs, durch Kommas getrennt); dann wird kein Zeitereignis erzeugt
--no-time-eventKein Zeitereignis erzeugen: nur die anstehenden Ereignisse werden verarbeitet (durch diesen Lauf wird keine Zusammenfassung fällig)
--mail-file-direrforderlichDie Mail in Dateien in diesem Verzeichnis schreiben, statt sie zu senden (nur dieser Prozess)
--addressesIm Probelauf die ganzen Empfängeradressen zeigen (standardmäßig maskiert)
--jsonEin JSON-Objekt statt des Textes
--joberforderlichDie ID eines Hintergrundauftrags, dessen Fortschrittsdatei geschrieben wird (die Statusseite verwendet das)
--sourceerforderlichconsole (Standard) oder web; was der Datensatz des Laufs angibt

Aus den Optionsdefinitionen im Code gelesen (startup(), getOptions(), options() oder ezcConsoleOption). Jedes Skript nimmt außerdem die Standardoptionen des Skript-Frameworks (--help, --siteaccess, --debug, --quiet, --allow-root-user ...).

Siehe auch


Erzeugt von ./console exp:help:examples --language=ger-de aus bin/php/notificationrun.php, kernel/private/classes/commands/notificationrun.php. Bearbeiten Sie diese Seite nicht: Ändern Sie die Quelle oder die deutsche Übersetzung und erzeugen Sie sie neu (wie). Freie Dokumentation: GFDL 1.3 oder später.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x