Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
岳巧源
/
jd_data_process
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
ecb54cb4
authored
Oct 24, 2024
by
larosa
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
add update vc
parent
23f87ef8
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
crontab.py
crontab.py
View file @
ecb54cb4
...
@@ -233,6 +233,7 @@ if __name__ == '__main__':
...
@@ -233,6 +233,7 @@ if __name__ == '__main__':
if
len
(
sys
.
argv
)
>=
2
and
sys
.
argv
[
1
]
in
option
:
if
len
(
sys
.
argv
)
>=
2
and
sys
.
argv
[
1
]
in
option
:
environment
=
sys
.
argv
[
1
]
environment
=
sys
.
argv
[
1
]
else
:
else
:
print
(
"命令选项:
\n
线上:python3 crontab.py prod
\n
测试:python3 crontab.py dev
\n
"
)
sys
.
exit
(
1
)
sys
.
exit
(
1
)
config
=
config_dev
config
=
config_dev
if
environment
==
"dev"
:
if
environment
==
"dev"
:
...
...
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