update
This commit is contained in:
8
news_crawler/start.sh
Normal file
8
news_crawler/start.sh
Normal file
@@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
# Start both the scheduler and the worker
|
||||
|
||||
# Start the worker in the background
|
||||
python -u worker.py &
|
||||
|
||||
# Start the scheduler in the foreground
|
||||
python -u scheduled_crawler.py
|
||||
Reference in New Issue
Block a user