aiocron
aiocron copied to clipboard
Crontabs for asyncio
`Croniter` incorrectly calculate next cron hit if DST change occurs. The reason is giving `dateutil.tz.tzlocal` object in initial datetime. You can read criticsm about here http://www.assert.cc/2014/05/25/which-python-time-zone-library.html. I have already fixed...
I'm using aiocron as part of a simple bot that sends reminders. I currently have a VM with Ubuntu running a python script which sends a reminder at _1000 and...
Pardon the potentially-simple question/issue. Given a simple class, what is preventing aiocron from properly executing the decorated function? ```py class MyClass: @aiocron.crontab('* * * * *') async def crontest(self): print(datetime.now())...
I've just started running my tests with `-W error` and sometimes I will see some failures that appear to be caused by this library scheduling a coroutine probably right as...
With this code: ``` import logging import threading from . import schema from aiohttp import web import aiohttp_cors from aiohttp_graphql import GraphQLView from aiocron import crontab logger = logging.getLogger(__name__) host='0.0.0.0'...
I really love this library, and it would make all future users live much better if this library incorporated optional type annotations for APIs (decorators, ..)
### Summary `aiocron` relies on [croniter](https://github.com/kiorky/croniter) to interpret the scheduling spec by constructing a `croniter` instance internally on the `Cron` object. `croniter` supports some additional features such as [hashed expressions](https://github.com/kiorky/croniter#hashed-expressions)...
I've created a crontab in my code and deployed it to a server. Everything ran fine until one month ago i'd say. Now my code run, but the crontab never...