3 ms·
from redengine import RedEngine app = RedEngine() @app.task('daily') def do_things(): ... if __name__ == "__main__": app.run() > W
by efxhoy 4y ago
from redengine import RedEngine
app = RedEngine()
@app.task('daily')
def do_things():
...
if __name__ == "__main__":
app.run()
> We initialized the RedEngine application, created one task which runs every 10 seconds and then we started the app. https://red-engine.readthedocs.io/en/stable/tutorial/quick_start.html#minimal-example https://red-engine.readthedocs.io/en/stable/tutorial/quick_s...
Might wanna fix that.