Automate your file downloads with scheduled tasks. Never manually check for files again — let DNFileVault deliver them to you automatically at the times you specify.
This guide explains how to schedule automated tasks using cron (Linux/Mac) or Task Scheduler (Windows).
Write a script using our API to download files
Use cron or Task Scheduler to run it automatically
Files are downloaded automatically at your chosen times
About Scripts
You can write your automation script in any language (Python, PowerShell, Bash, C#, etc.). Contact [email protected] for API documentation and examples.
Cron is a time-based job scheduler built into Unix-like operating systems (Linux, macOS). It allows you to run commands or scripts automatically at specified times and intervals.
1. Edit your crontab
crontab -e
2. Add a schedule line
Example: Run your script daily at 6:00 AM
0 6 * * * /path/to/your/script.sh >> /path/to/logfile.log 2>&1
Replace /path/to/your/script.sh with the path to your download script
| Schedule | Cron Expression | Use Case |
|---|---|---|
| Every day at 6:00 AM | 0 6 * * * |
Morning download routine |
| Every day at 9:00 PM | 0 21 * * * |
Evening data sync |
| Every 6 hours | 0 */6 * * * |
Frequent updates (4x daily) |
| Weekdays at 8:00 AM | 0 8 * * 1-5 |
Business days only |
| Every hour | 0 * * * * |
Real-time data feeds |
| First day of month at midnight | 0 0 1 * * |
Monthly reports |
Understanding Cron Syntax
* * * * * command-to-execute
│ │ │ │ │
│ │ │ │ └─── Day of week (0-7, Sun=0 or 7)
│ │ │ └───── Month (1-12)
│ │ └─────── Day of month (1-31)
│ └───────── Hour (0-23)
└─────────── Minute (0-59)
View all scheduled jobs
crontab -l
Remove all cron jobs
crontab -r
View cron logs (Ubuntu/Debian)
grep CRON /var/log/syslog
Windows Task Scheduler allows you to run programs, scripts, or commands automatically at scheduled times or in response to specific system events.
Press Win + R, type taskschd.msc, and press Enter
Or search for "Task Scheduler" in the Windows Start menu
Click "Create Basic Task" in the right panel
DNFileVault Auto DownloadAutomatically download files from DNFileVaultChoose your schedule frequency
Example: Select "Daily" and set time to 6:00 AM
Configure the program or script to execute
C:\Scripts\download.bat)Confirm your settings and create the task
Check "Open the Properties dialog" for additional settings
After creating the task, you can configure these additional options in the Properties dialog:
Testing Your Task
Right-click your task in Task Scheduler and select "Run" to test it immediately without waiting for the scheduled time.
| Schedule | Cron (Linux/Mac) | Task Scheduler (Windows) |
|---|---|---|
| Daily at 6:00 AM | 0 6 * * * |
Trigger: Daily, 6:00 AM |
| Every 6 hours | 0 */6 * * * |
Trigger: Daily, repeat every 6 hours |
| Weekdays at 8:00 AM | 0 8 * * 1-5 |
Trigger: Weekly, Mon-Fri, 8:00 AM |
| First of month at midnight | 0 0 1 * * |
Trigger: Monthly, Day 1, 12:00 AM |