feat: update list view
This commit is contained in:
20
readme.md
20
readme.md
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user