1. 任务列表
最后更新于:2022-04-02 06:55:40
要使用任务调度的功能,需要先启动febs-server-job微服务子系统。启动前,需要先创建febs_cloud_job数据库。
使用navicat新建febs_cloud_job数据库:

然后导入[febs_cloud_job.sql](https://github.com/wuyouzhuguli/FEBS-Cloud/blob/master/febs-cloud/sql/febs_cloud_job.sql)数据库脚本,导入后库表如下所示:

数据库准备完毕后,启动febs-server-job:

任务列表页面展示了当前系统中已配置的任务:

拿第二个任务来说,它的含义是:

就拿上面这个任务来说,它对应febs-server-job的TaskList类:

任务默认是暂停的,我们可以通过页面上的操作按钮来进行一系列操作:
点击运行一次按钮:

点击后,该任务会马上运行一次,观测febs-server-job的控制台:

点击恢复按钮:

任务状态会变为正常(即按照Cron表达式的规则进行循环调度):

观察febs-server-job控制台:

可以看到,任务执行的时间间隔就是我们定义的Cron表达式规则。
其他按钮为增删改查操作,自己玩玩即可,不赘述。
';