> ## Documentation Index
> Fetch the complete documentation index at: https://docs.younegotiate.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Schedule Report

> Operations wants a weekly platform report every Monday.

## Real-World Example

Operations wants a weekly platform report every Monday. Super Admin creates the schedule, chooses recipients, and the system generates and sends the report on the selected schedule.

## Visual Flow

```mermaid placement="top-right" actions={true} theme={"system"}
flowchart TD
    A["Super Admin creates schedule"] --> B["Report settings are saved"]
    B --> C["Scheduled time arrives"]
    C --> D["Report is generated"]
    D --> E["Report is delivered"]
    classDef default fill:#F8FAFC,stroke:#64748B,stroke-width:1.5px,color:#0F172A;
    classDef actor fill:#E0F2FE,stroke:#0284C7,stroke-width:2px,color:#0C4A6E;
    classDef system fill:#F8FAFC,stroke:#64748B,stroke-width:1.5px,color:#0F172A;
    classDef decision fill:#FEF3C7,stroke:#D97706,stroke-width:2px,color:#78350F;
    classDef risk fill:#FEE2E2,stroke:#DC2626,stroke-width:2px,color:#7F1D1D;
    classDef outcome fill:#DCFCE7,stroke:#16A34A,stroke-width:2px,color:#14532D;
    class A actor;
    class B,E outcome;
    class C,D system;
    linkStyle default stroke:#94A3B8,stroke-width:2px;
```

## How It Should Work

* It should save report schedule, filters, and recipients.
* It should generate reports at the selected time.
* It should make scheduled report activity reviewable.

## How It Should Not Work

* It should not send to unintended recipients.
* It should not keep sending after a schedule is disabled or removed.
* It should not generate reports with stale or missing filter settings.

## Developer Notes

* Scheduled reports can be generated by background jobs.
* Delivery status should be visible enough for operations to troubleshoot.

## Related App Areas

* `app/Http/Controllers/SuperAdmin/ScheduleReportController.php`
* `app/Services/SuperAdmin/ScheduleReportService.php`
* `app/Services/Creditor/ScheduleReportRunnerService.php`
* `app/Console/Commands/Process*ScheduleReportsCommand.php`
