New in DiskCleanKit v4.0, Automation Support lets you set up your Mac cleaning on autopilot. With scheduled scans, low disk space alerts, and auto startup, you'll never have to worry about manually cleaning your Mac again.

Get notified before you run out of space! Set a threshold and DiskCleanKit will alert you when disk space falls below that level.
How to set up:
1. Open DiskCleanKit → Preferences → Automation
2. Enable "Low Disk Space Alert"
3. Set your threshold (e.g., 10GB, 20GB, 50GB)
4. You'll receive a notification when space runs low
Recommended thresholds:
Launch DiskCleanKit automatically when your Mac starts. Perfect for always-on monitoring.
How to enable:
1. Open DiskCleanKit → Preferences → Automation
2. Enable "Launch at Startup"
3. DiskCleanKit will now start when you log in
This pairs great with the Menu Bar Widget - DiskCleanKit monitors your disk space silently in the background.
Set up automatic scans on your preferred schedule:
| Frequency | Best For |
|---|---|
| Daily | Most users - recommended default |
| Weekly | Light users, minimal junk generation |
| 2 Weekly | Balanced maintenance for moderate use |
| Monthly | Very light use, maintenance mode |
How to configure:
1. Open DiskCleanKit → Preferences → Automation
2. Enable "Scheduled Scan"
3. Choose frequency: Daily, Weekly, 2 Weekly, or Monthly
4. Select scan type: Quick Clean, Deep Scan, or One-Touch
5. (Optional) Enable "Auto Clean After Scan" for hands-free operation

Enable automatic cleaning after scheduled scans - zero manual intervention required!
Important: Before enabling, review what DiskCleanKit typically finds in manual scans. Set up exclusion rules in Preferences → Exclusions for any files you want to keep.
For advanced automation beyond the built-in options, use URL schemes to control DiskCleanKit from Terminal, AppleScript, macOS Shortcuts, or third-party tools.
| URL Scheme | Action |
|---|---|
diskcleankit://onetouch | Open One-Touch Clean mode (supports autoscan & autoclean) |
diskcleankit://quickclean | Start Quick Clean scan (supports autoscan & autoclean) |
diskcleankit://deepscan | Start Deep Scan (supports autoscan & autoclean) |
diskcleankit://duplicates | Open Duplicate Finder |
diskcleankit://uninstaller | Open App Uninstaller |
| Parameter | Description |
|---|---|
autoscan=true | Automatically start scanning |
autoclean=true | Automatically clean after scan |
# Just open One-Touch mode
open "diskcleankit://onetouch"
# Full automation: scan AND clean
open "diskcleankit://onetouch?autoscan=true&autoclean=true"
# Quick Clean with full automation
open "diskcleankit://quickclean?autoscan=true&autoclean=true"
# Deep Scan with full automation
open "diskcleankit://deepscan?autoscan=true&autoclean=true"-- Automated Mac Cleanup
display notification "Starting Mac cleanup..." with title "DiskCleanKit"
do shell script "open 'diskcleankit://onetouch?autoscan=true&autoclean=true'"1. Open Shortcuts app
2. Click + to create new shortcut
3. Search for Run Shell Script action
4. Enter: open "diskcleankit://onetouch?autoscan=true&autoclean=true"
5. Name your shortcut (e.g., "Clean My Mac")
Add Automation Trigger:
1. Go to Automation tab
2. Create Personal Automation
3. Choose trigger: Time of Day, When app opens, etc.
4. Add your DiskCleanKit shortcut
5. Toggle off "Ask Before Running"
1. Enable Auto Startup to keep DiskCleanKit running
2. Set Low Disk Space Alert to 20GB
3. Configure Daily Scheduled Scan with Quick Clean
4. Enable Auto Clean after reviewing typical scan results
1. Use built-in scheduling for regular maintenance
2. Add URL schemes to Alfred/Raycast for quick access
3. Use cron jobs for custom schedules not covered by built-in options
4. Create Shortcuts with specific triggers (e.g., when closing Xcode)
1. Enable Low Disk Space Alert only
2. Set Weekly or Monthly scheduled scan
3. Keep Auto Clean disabled, review before cleaning
Automation Support is a major feature in DiskCleanKit v4.0, making Mac maintenance truly hands-free. Combined with Finder Integration, v4.0 is the most powerful DiskCleanKit release yet! Update now from the Mac App Store to enjoy all these features.

Founder & Developer
With 20+ years in software development, I'm the founder of DiskCleanKit, eSpaceReading, English For Kids, and more. I'm passionate about creating useful apps that are helpful to everyone. When I'm not coding, you'll find me playing ping pong, chess, or relaxing on a sunny beach with family. Always thinking about the next interesting and helpful app to build!
Try DiskCleanKit today and reclaim your disk space. One Touch Clean, Widgets, Disk Manager, and more.
A glimpse into my personal life - chess and family time at the beach


