Schedule scans
ClamUI schedules scans with a user systemd timer (clamui-scheduled-scan.timer), or with cron when systemd user sessions are unavailable. No administrator access is needed. The computer must be on at the scheduled time.
Set up a schedule
Section titled “Set up a schedule”- Open Preferences → Scheduled.
- Turn scheduled scans on, add targets, and pick a frequency and time.
- Leave the section, close Preferences, or click Save in the header. ClamUI then creates the timer.
A good start: scan Downloads daily at a time the laptop is usually plugged in, with auto-quarantine off until you know your normal detections.
| Setting | Values | Default |
|---|---|---|
| Frequency | hourly, daily, weekly, monthly |
weekly |
| Time | 24-hour HH:MM; hourly runs at minute 0 |
02:00 |
| Weekly day | 0 Monday … 6 Sunday |
0 |
| Monthly day | 1 … 28 |
1 |
| Targets | absolute folders; empty = no scan | empty |
| Skip on battery | on / off | on |
| Auto-quarantine | on / off | off |
Check or test a schedule
Section titled “Check or test a schedule”clamui-scheduled-scan --dry-runsystemctl --user list-timers clamui-scheduled-scan.timercrontab -l | grep clamuiResults show up in Logs, marked as scheduled. After upgrading a Debian package or snap, save the schedule once more instead of editing the generated timer or cron entry.
JSON keys: configuration reference. Background: systemd.timer.