mealpy
mealpy copied to clipboard
Scheduler doesn't work
The scheduler was disabled during project boilerplate changes.
https://github.com/edmundmok/mealpy/blob/9e60e066a53408057bedba882970c485bf5c516d/mealpy.py#L147-L151
We'll want some way to allow user to run this adhoc or as scheduled task.
I briefly tested this and it works with the apscheduler v3.6.0 (should be pinned, #13). This is now blcoked on #4, as we need the CLI swtiches to choose "scheduled" vs. "adhoc" runs.
@edmundmok do you think this is a good feature to have? Personally, I would prefer to set up cronjob/windows task instead. This script doesn't run anything concurrently, so apscheduler
is essentially an in-process cron scheduler, no additional benefit that I can forsee.
I think it would still be good to have a scheduler that works out of the box, so not much configuration is required.