Mon Jan 20 21:43:03 UTC 2025
This commit is contained in:
parent
42a0ece248
commit
0c40ca9b09
@ -3,8 +3,8 @@
|
||||
#
|
||||
# ------------------------ restart all
|
||||
# 10 seconds is added to not to overlap with minutely start command
|
||||
59 23 * * * start 10 && /usr/bin/docker restart md_recorder.COINBASE_CVTTDATA 2>&1 | /usr/bin/ts '[\%Y-\%m-\%d \%H:\%M:\%S]' >> /home/cvtt/prod/logs/$(date +\%Y\%m\%d).docker.restart.md_recorder.COINBASE_CVTTDATA.log
|
||||
59 23 * * * start 10 && /usr/bin/docker restart md_recorder.BNBFUT_CVTTDATA 2>&1 | /usr/bin/ts '[\%Y-\%m-\%d \%H:\%M:\%S]' >> /home/cvtt/prod/logs/$(date +\%Y\%m\%d).docker.restart.md_recorder.BNBFUT_CVTTDATA.log
|
||||
59 23 * * * sleep 10 && /usr/bin/docker restart md_recorder.COINBASE_CVTTDATA 2>&1 | /usr/bin/ts '[\%Y-\%m-\%d \%H:\%M:\%S]' >> /home/cvtt/prod/logs/$(date +\%Y\%m\%d).docker.restart.md_recorder.COINBASE_CVTTDATA.log
|
||||
59 23 * * * sleep 15 && /usr/bin/docker restart md_recorder.BNBFUT_CVTTDATA 2>&1 | /usr/bin/ts '[\%Y-\%m-\%d \%H:\%M:\%S]' >> /home/cvtt/prod/logs/$(date +\%Y\%m\%d).docker.restart.md_recorder.BNBFUT_CVTTDATA.log
|
||||
#
|
||||
# ------------------------ start all
|
||||
* * * * * /home/cvtt/prod/run/md_recorder.sh COINBASE_CVTTDATA 2>&1 | /usr/bin/ts '[\%Y-\%m-\%d \%H:\%M:\%S]' >> /home/cvtt/prod/logs/$(date +\%Y\%m\%d).docker.start.COINBASE_CVTTDATA.log
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user