mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-22 17:31:03 +01:00
updated methodologies of deployment and running spider
This commit is contained in:
7
tasks/node.py
Normal file
7
tasks/node.py
Normal file
@@ -0,0 +1,7 @@
|
||||
from utils import node
|
||||
from .celery import celery_app
|
||||
|
||||
|
||||
@celery_app.task
|
||||
def update_node_status():
|
||||
node.update_nodes_status(refresh=True)
|
||||
Reference in New Issue
Block a user