Handle unreadable archives and adjust cron job configuration

- Skip page count assignment for corrupt or incompatible archives in comic processing.
- Update `Dockerfile` to append crontab entries to `/etc/crontab` instead of `/etc/cron.daily/cbreader`.
- Modify crontab entry to use the virtual environment's Python binary and include the `root` user for execution.
This commit is contained in:
ajurna committed 2026-10-13 09:46:26 +01:00
1 parent 1bbe0071a0
commit 9b9db755e6
3 files changed
+4 -3

No files matched your search

+1 -1
View File
@@ -1 +1 @@
*/15 * * * * python /src/manage.py scan_comics --settings=cbreader.settings.base
*/15 * * * * root /src/.venv/bin/python /src/manage.py scan_comics --settings=cbreader.settings.base