Comments (6)
Multi-spider support is on the way. Please follow this issue crawlab-team/crawlab#1190
from crawlab-sdk.
Multi-spider support is on the way. Please follow this issue crawlab-team/crawlab#1190
Will schedules deployments also be included?
from crawlab-sdk.
Would you elaborate a bit?
from crawlab-sdk.
Would you elaborate a bit?
In practice, I need to create dozens of new cronjobs along with a new crawler spider,
crawler spider upload can be done from the command line, so can cronjobs be done too?
then I can write these commands to CICD.
So I would like to add a new param schedules
to the crawlab.json
to publish and manage cronjobs, like this
{
"path": "packages/py_spider",
"exclude_path": ".venv",
"name": "py spiders",
"description": "py spiders",
"cmd": "python",
"schedules": [
{
"name": "py spider 1 cron",
"cron": "* 1 * * *",
"command": "python py_spider_1/main.py",
"param": "",
"mode": "random",
"description": "py spider 1 cron",
"enabled": true
},
{
"name": "py spider 2 cron",
"cron": "* 2 * * *",
"command": "python py_spider_2/main.py",
"param": "",
"mode": "random",
"description": "py spider 2 cron",
"enabled": true
},
...
]
}
what do you think of these ideas, or do you have any other better suggestions?
from crawlab-sdk.
Would you elaborate a bit?
@tikazyq What do you think about the above
from crawlab-sdk.
I think that's a good idea but it might take some time to implement it. Let's create a new enhancement issue in the main repo https://github.com/crawlab-team/crawlab
from crawlab-sdk.
Related Issues (13)
- go sdk 里面的go.mod问题
- CrawlabPipeline create new connection for every item
- 大佬们的java sdk 有在开发吗? HOT 2
- error: invalid character '-' in numeric literal HOT 2
- 上传有bug HOT 1
- save_item 数据保存数据库,连接不释放问题
- save_items方法,在运行一段时间后,保存不到数据库。 HOT 3
- 【增强】增加 CLi 批量取消任务和批量启动任务功能
- 【增强】Crawlab 容器镜像里升级 requests 和 scrapy 时遇到兼容性报错问题 HOT 2
- Download results with CLI HOT 8
- can only concatenate str (not "ConnectionError") to str HOT 1
- Python SDK 依赖版本过旧
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from crawlab-sdk.