Skip to content

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.

  1. Open Preferences → Scheduled.
  2. Turn scheduled scans on, add targets, and pick a frequency and time.
  3. 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
Inspect the schedule
clamui-scheduled-scan --dry-run
systemctl --user list-timers clamui-scheduled-scan.timer
crontab -l | grep clamui

Results 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.