Quick Start
Add a Scheduled Job
Start the Scheduler
Docker Compose
Thedocker-compose.yml includes a scheduler service:
-
Add scheduled job:
-
Start scheduler:
-
View logs:
Schedule Frequencies
Supported Intervals
Custom Times
Managing Scheduled Jobs
List Scheduled Jobs
- Job ID
- Schedule frequency
- Source URL or command
- Next run time
- Status
Remove Scheduled Job
Modify Scheduled Job
To change a job, remove and re-add it:Scheduler Modes
Foreground Mode
Runs in foreground, showing logs:- Debugging
- Seeing what’s being archived
- Running in Docker/systemd
Background Mode
Runs as background process:One-Time Mode
Run all scheduled jobs once, then exit:- Testing schedules
- Manual runs
- Cron integration
Use Cases
RSS Feed Monitoring
Automatically archive new articles:Bookmark Synchronization
Sync bookmarks from file:Website Snapshots
Regular snapshots of changing content:Social Media Monitoring
Archive social media profiles (requires persona):Configuration
Scheduler Settings
Timeout Settings
Use higher timeouts for scheduled jobs:Cron Integration
Instead of the built-in scheduler, use system cron:Basic Cron Setup
Advanced Cron Example
Docker Cron
For Docker, use host cron:Systemd Service
Run scheduler as systemd service:Create Service File
/etc/systemd/system/archivebox-scheduler.service:
Enable and Start
Retry Failed Archives
The scheduler can automatically retry failed archives:Monitoring
Check Scheduler Status
Docker Logs
Email Notifications
Set up email notifications on failure:Troubleshooting
Scheduler Not Running
Jobs Not Executing
Jobs Failing
Schedule Changes Not Applied
Best Practices
-
Use appropriate frequencies:
- High-traffic sites: hourly
- News/blogs: daily
- Personal bookmarks: weekly
-
Set reasonable timeouts:
-
Monitor disk space:
-
Regular maintenance:
-
Test before scheduling:
See Also
- Input Formats - Ways to import URLs
- Configuration - All settings
- Scheduled Archiving Wiki - Detailed guide