0a8732ae57c41fc0f97d8eb8721fd78a1e95ad60
commands
discover
./backend tasks discover --from /mnt/yangpingliang/publish/ --to /mnt/yangpingliang/publish/processed/1
sync
rsync -avh --progress /mnt/ypl/publish/processed/ server.ali.bj.01:/data
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
Description
Languages
Go
79.9%
Vue
9.4%
JavaScript
3.6%
HTML
3.4%
Shell
1.8%
Other
1.9%