Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wfs_export
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
yexing
wfs_export
Commits
48f21530
Commit
48f21530
authored
Jan 06, 2026
by
yexing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化代码
parent
e04e6148
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
1 deletions
+1
-1
src/walmart_demo.py
+0
-0
src/walmart_sup.py
+1
-1
No files found.
src/walmart_demo.py
View file @
48f21530
This diff is collapsed.
Click to expand it.
src/walmart_sup.py
View file @
48f21530
...
@@ -65,7 +65,7 @@ class Subsidiary:
...
@@ -65,7 +65,7 @@ class Subsidiary:
"""在晚上运行任务"""
"""在晚上运行任务"""
while
True
:
while
True
:
now
=
datetime
.
now
()
.
time
()
now
=
datetime
.
now
()
.
time
()
if
time
(
22
,
0
)
>
now
and
now
>
time
(
7
,
0
):
if
time
(
19
,
0
)
>
now
and
now
>
time
(
2
,
0
):
for
task
in
self
.
_tasks
:
for
task
in
self
.
_tasks
:
if
task
and
not
task
.
done
():
if
task
and
not
task
.
done
():
task
.
cancel
()
task
.
cancel
()
...
...
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