Skip to content

Document --cleanup-only flag for report scheduler command#708

Open
promptless-for-oss wants to merge 1 commit intomautic:7.1from
Promptless:promptless/report-scheduler-cleanup-only
Open

Document --cleanup-only flag for report scheduler command#708
promptless-for-oss wants to merge 1 commit intomautic:7.1from
Promptless:promptless/report-scheduler-cleanup-only

Conversation

@promptless-for-oss
Copy link
Copy Markdown

Open this suggestion in Promptless to view citations and reasoning process

Adds documentation for the new --cleanup-only flag on mautic:reports:scheduler that allows users to run report cleanup separately from report sending, preventing duplicate Report Emails.

Trigger Events


Tip: Use Vale? Add your vale.ini when setting up your Docs Collection.

Add documentation for the new --cleanup-only flag that allows users to
run report cleanup separately from report sending, preventing duplicate
Report Emails when both operations run simultaneously.
@promptless-for-oss promptless-for-oss requested a review from a team as a code owner May 6, 2026 10:34
@promptless-for-oss promptless-for-oss requested review from adiati98 and favour-chibueze and removed request for a team May 6, 2026 10:34

- ``--report=ID`` specifies a Report by ID. If not provided, processes all scheduled Reports.

- ``--cleanup-only`` runs only the cleanup operation, removing old exported Report files without sending scheduled Reports. Use this to separate the cleanup and sending tasks to prevent duplicate Report Emails.
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added --cleanup-only flag documentation based on PR #16077 which introduces the -co / --cleanup-only option to ExportSchedulerCommand.php to allow cleanup operations to run separately from report sending.

Source: mautic/mautic#16077

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant