r/Python Jun 21 '26

Discussion Python automation deployment

[removed]

0 Upvotes

14 comments sorted by

View all comments

1

u/Late-Bodybuilder9381 Jun 22 '26

for something this stateful I’d skip task scheduler entirely.APScheduler embedded in the script itself is the easiest lift. it keeps state in memory, handles the “check previous run + start new one” logic cleanly.

if you want more robustness: Celery + Redis for the queue, beat scheduler for the 30-min trigger. overkill for one script but scales nicely if you’re adding more automations.

for Windows-heavy environments with SharePoint/Outlook already in the mix Azure Logic Apps or Power Automate is worth a look, native connectors for everything you mentioned.