Skip to content

Commit

Permalink
updata(docs): 定时任务start_scheduler函数的说明
Browse files Browse the repository at this point in the history
  • Loading branch information
xiyaowong committed Apr 30, 2021
1 parent 25a5cb9 commit c4ab528
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/schedule.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ job1 = scheduler.add_job(lambda: print("我一分钟出现一次"), 'interval',
}
```

- apscheduler_autostart: 是否自动启动定时任务
- apscheduler_autostart: 是否自动启动定时任务。如果不开启自动启动,则需调用模块内`start_scheduler`函数进行启动
- apscheduler_log_level: scheduler 的日志等级, WARNING = 30 INFO = 20
- apscheduler_config: apscheduler 的配置项,见[configuration_guide](https://apscheduler.readthedocs.io/en/latest/userguide.html#configuring-the-scheduler) [configuration_api](https://apscheduler.readthedocs.io/en/latest/modules/schedulers/base.html#apscheduler.schedulers.base.BaseScheduler.configure)

0 comments on commit c4ab528

Please sign in to comment.