-
Notifications
You must be signed in to change notification settings - Fork 14
wangjiajun9012 edited this page Dec 17, 2024
·
1 revision
jiascheduler的控制台服务,打包了前端页面,可以直接运行,依赖redis,mysql,运行前需要提前准备好中间件。
jiascheduler-console需要使用redis的stream功能提供消息队列服务,mysql的json数据类型提供高级的查询服务所以请至少保证
- redis 版本 >= 5.0.0
- mysql 版本 >= v8.0.0
- mariadb 版本 >= v10.2.7
参数介绍
A high-performance, scalable, dynamically configured job scheduler developed with rust
Usage: jiascheduler-console [OPTIONS]
Options:
-d, --debug if enable debug mode
--bind-addr <BIND_ADDR> http server listen address, eg: "0.0.0.0:9090"
--config <FILE> where to read config file, you can temporarily overwrite the configuration file using command-line parameters [default: ~/.jiascheduler/console.toml]
--redis-url <REDIS_URL> redis connect address, eg: "redis://:wang@127.0.0.1"
--database-url <DATABASE_URL> mysql connect address, eg: "mysql://root:root@localhost:3306/jiascheduler"
-h, --help Print help
-V, --version Print version
安装
请注意 "--redis-url" 和 "--database-url" 仅用于调试,首次安装时仅需提供"--bind-addr"参数
# The first installation requires specifying --bind-add. After the service starts, access 0.0.0.0:9090, enter the installation interface, and follow the prompts to complete the installation
./jiascheduler-console --bind-addr 0.0.0.0:9090
执行成功后,访问 localhost:9090 进入安装界面,按照提示完成安装。
注意:此时comet和agent未安装,仅能访问控制台,并不能进行任务调度
created by iwannay