Document scheduled WCX updates
This commit is contained in:
42
README.md
42
README.md
@ -761,15 +761,37 @@ Google Cloud Vision does not guarantee this exact structure. Unexpected output i
|
||||
|
||||
OCR processing is currently started manually for one movie ID at a time.
|
||||
|
||||
## Planned next steps
|
||||
## Scheduled updates
|
||||
|
||||
Potential next steps include:
|
||||
WCX is updated automatically by a systemd timer.
|
||||
|
||||
The timer runs every night around 03:30. The wrapper script only performs a
|
||||
full update when at least approximately 48 hours have passed since the previous
|
||||
successful scheduled run.
|
||||
|
||||
Check the timer:
|
||||
|
||||
```bash
|
||||
systemctl list-timers wcx-update.timer
|
||||
```
|
||||
|
||||
Follow the service log:
|
||||
```bash
|
||||
sudo journalctl -u wcx-update.service -f
|
||||
```
|
||||
Show the latest service output:
|
||||
```bash
|
||||
sudo journalctl -u wcx-update.service -n 100 --no-pager
|
||||
````
|
||||
Run the scheduled service manually:
|
||||
```bash
|
||||
sudo systemctl start wcx-update.service
|
||||
```
|
||||
Check its status:
|
||||
```bash
|
||||
systemctl status wcx-update.service --no-pager
|
||||
```
|
||||
The timestamp of the latest successful scheduled update is stored in:
|
||||
|
||||
database/last_scheduled_update
|
||||
|
||||
* automatically process movies with `ocr_status = pending`
|
||||
* add retry support for failed OCR requests
|
||||
* provide commands for manually approving or correcting OCR results
|
||||
* add database backup handling
|
||||
* export the complete index to JSON or CSV
|
||||
* add Emby-compatible metadata export
|
||||
* schedule the scraper and import process
|
||||
* create an orchestration script for the complete automated workflow
|
||||
|
||||
Reference in New Issue
Block a user