Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
gm_strategy_cvr
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
rank
gm_strategy_cvr
Commits
a8a59f31
Commit
a8a59f31
authored
Aug 11, 2020
by
赵威
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update script
parent
a163dad7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
16 deletions
+16
-16
ctcvr_offline.sh
ctcvr_offline.sh
+16
-16
No files found.
ctcvr_offline.sh
View file @
a8a59f31
if
!
ps aux |
grep
src/main_portrait.py
\
c |
grep
-v
grep
#
if ! ps aux | grep src/main_portrait.py\ c | grep -v grep
then
#
then
nohup
/home/gmuser/.virtualenvs/tf1/bin/python3 /srv/apps/gm_strategy_cvr/src/main_portrait.py c
>
~/ctcvr_c.log &
#
nohup /home/gmuser/.virtualenvs/tf1/bin/python3 /srv/apps/gm_strategy_cvr/src/main_portrait.py c > ~/ctcvr_c.log &
fi
#
fi
if
!
ps aux |
grep
src/main_portrait.py
\
d |
grep
-v
grep
#
if ! ps aux | grep src/main_portrait.py\ d | grep -v grep
then
#
then
nohup
/home/gmuser/.virtualenvs/tf1/bin/python3 /srv/apps/gm_strategy_cvr/src/main_portrait.py d
>
~/ctcvr_d.log &
#
nohup /home/gmuser/.virtualenvs/tf1/bin/python3 /srv/apps/gm_strategy_cvr/src/main_portrait.py d > ~/ctcvr_d.log &
fi
#
fi
if
!
ps aux |
grep
src/main_portrait.py
\
e |
grep
-v
grep
#
if ! ps aux | grep src/main_portrait.py\ e | grep -v grep
then
#
then
nohup
/home/gmuser/.virtualenvs/tf1/bin/python3 /srv/apps/gm_strategy_cvr/src/main_portrait.py e
>
~/ctcvr_e.log &
#
nohup /home/gmuser/.virtualenvs/tf1/bin/python3 /srv/apps/gm_strategy_cvr/src/main_portrait.py e > ~/ctcvr_e.log &
fi
#
fi
if
!
ps aux |
grep
src/main_portrait.py
\
f |
grep
-v
grep
#
if ! ps aux | grep src/main_portrait.py\ f | grep -v grep
then
#
then
nohup
/home/gmuser/.virtualenvs/tf1/bin/python3 /srv/apps/gm_strategy_cvr/src/main_portrait.py f
>
~/ctcvr_f.log &
#
nohup /home/gmuser/.virtualenvs/tf1/bin/python3 /srv/apps/gm_strategy_cvr/src/main_portrait.py f > ~/ctcvr_f.log &
fi
#
fi
if
!
ps aux |
grep
src/main_portrait.py
\
8 |
grep
-v
grep
if
!
ps aux |
grep
src/main_portrait.py
\
8 |
grep
-v
grep
then
then
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment