feat: update list view

This commit is contained in:
Rogee
2024-12-16 23:09:46 +08:00
parent 71c285b892
commit c43ebf78e8
4 changed files with 28 additions and 9 deletions

View File

@@ -1,16 +1,26 @@
discover
### commands
#### discover
```
./backend tasks discover --from /mnt/yangpingliang/publish/ --to /mnt/yangpingliang/publish/processed/1
```
sync
#### sync
```
rsync -avh --progress /mnt/ypl/publish/processed/ server.ali.bj.01:/data
```
store
#### store
```
tasks store --from /app/processed
```
```
### crontab example for rockey8
Add the following lines to your crontab file to run the discover command every hour and run the sync command only if discover is successful:
```
0 * * * * /bin/bash -c 'qvyun tasks discover --from /mnt/yangpingliang/publish/ --to /mnt/yangpingliang/publish/processed/1 && rsync -avh --progress /mnt/ypl/publish/processed/ server.ali.bj.01:/data'
```
### docker images