docs: mark cron scheduler tasks complete, fix outdated examples
This commit is contained in:
@@ -613,14 +613,15 @@ curl -X GET "http://127.0.0.1:8000/api/nfo/missing" \
|
||||
Use the scheduler API to refresh NFOs automatically:
|
||||
|
||||
```bash
|
||||
# Schedule weekly NFO updates
|
||||
curl -X POST "http://127.0.0.1:8000/api/scheduler/configure" \
|
||||
# Schedule weekly NFO updates (rescan runs Sunday at 03:00)
|
||||
curl -X POST "http://127.0.0.1:8000/api/scheduler/config" \
|
||||
-H "Authorization: Bearer $TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{
|
||||
"enabled": true,
|
||||
"interval_minutes": 10080,
|
||||
"task": "update_nfo_files"
|
||||
"schedule_time": "03:00",
|
||||
"schedule_days": ["sun"],
|
||||
"auto_download_after_rescan": false
|
||||
}'
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user