Typo

スタークギャング 2021-02-03 22:16:03 +05:30
parent 56b0d5da24
commit af14b68658

@ -58,6 +58,8 @@ loop.run_forever()
If you don't mind using other libraries, [`aiocron`](https://github.com/gawel/aiocron) is a good option. See https://crontab.guru/ to learn its time syntax. If you don't mind using other libraries, [`aiocron`](https://github.com/gawel/aiocron) is a good option. See https://crontab.guru/ to learn its time syntax.
---
You Can Also Use [`apscheduler`](https://github.com/agronholm/apscheduler), Which is Much Simpler And Much Efficient. You Can Also Use [`apscheduler`](https://github.com/agronholm/apscheduler), Which is Much Simpler And Much Efficient.
Here is A Example For Running A Job (Function) Everyday at 6am. Here is A Example For Running A Job (Function) Everyday at 6am.
@ -85,6 +87,8 @@ scheduler = AsyncIOScheduler()
scheduler.add_job(this_will_run_at_every_one_hour, 'interval', minutes=60) scheduler.add_job(this_will_run_at_every_one_hour, 'interval', minutes=60)
scheduler.start() scheduler.start()
``` ```
You Can Also Set Custom TimeZones For Running These Functions. You Can Also Set Custom TimeZones And Also Use DataBases For Running These Functions.
I Like This Because it's More Advance And Better. I Like This Because it's More Advance And Better.
Read More About This From [`Here`](https://apscheduler.readthedocs.io/en/stable) Read More About This From [`Here`](https://apscheduler.readthedocs.io/en/stable)