# Geplante Aufgaben / Cronjobs

### Überprüfung auf abgelaufene Punkte

Wie im Abschnitt [Punkte Verfall](/plugins/bonus-system/installation.md#punkte-verfall) beschrieben, können Sie einen Zeitraum festlegen, nach dem ungenutzte Bonuspunkte automatisch verfallen. Diese Berechnung wird bei jeder Anmeldung des Kunden durchgeführt, Sie können die Prüfung aber auch über die Kommandozeile manuell oder über einen Cronjob durchführen:

```
./bin/console prems:bonus-system:set-expired-points
```

### Automatische Aktivierung von Punkten

Sie können diesen Aktivierungsprozess in den Einstellungen für die [Bonuspunkte Aktivierung](/plugins/bonus-system/installation.md#bonus-point-activation) automatisieren. Sind die dort definierten Bedingungen erfüllt, dann erhält der Kunde entweder nach seinem Login die Punkte oder wenn die geplante Aufgabe von Shopware automatisch durchgeführt wurde. Die Aufgabe *prems\_bonus\_system.bonus\_point\_activation\_task* wird bei Installation des Plugin automatisch in Shopware angelegt und Sie müssen hier normalerweise keine Anpassung vornehmen.

### E-Mail Hinweis für ablaufende Punkte

Wenn Sie das [Verfallen von Punkten aktiviert](/plugins/bonus-system/installation.md#bonus-point-activation-1) haben und eine Hinweis E-Mail vor dem Ablauf der Punkte konfiguriert wurde, so wird die geplante Aufgabe *prems\_bonus\_system.points\_expiration\_notification\_task* von Shopware automatisch durchgeführt. Falls ein Kunde Punkte hat die verfallen, so wird dieser per E-Mail vorab darüber informiert.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.premsoft.de/plugins/bonus-system/geplante-aufgaben-cronjobs.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
