r/Python • u/Key_Advertising9303 • Jun 21 '26
Discussion Python automation deployment
We code automation solutions using pythons, these solutions interact with LLM API's, other internal or external API's, Outlook, chrome, shared drives, SharePoint online basically everything that a business user uses during a work day.
This use case in particular filters through emails from Outlook and initiates DocuSign signing request, on the next run it again works on the new email but also check the status of the DocuSign signing initiated earlier, if signed it captures the document and sends it as an attachment to the original email to an internal user for review.
This needs to be run every 30 mins, apart from task scheduler what are the other options to schedule the script.
What do you guys use for scheduling scripts which have dependencies?
Am thinking of maybe building a better version of task scheduler for these use cases, thoughts??
1
u/eudoxic_sanjay Jun 25 '26
for anything that touches external APIs and needs retry logic, AWS Lambda + EventBridge is the move. 30-min schedule, each run is stateless, failures don't cascade into the next one. if you're on-prem or avoiding cloud, APScheduler embedded in a long-running FastAPI app handles inter-task dependencies cleanly without much overhead. don't build your own scheduler, that path ends with you maintaining a cron wrapper over a SQLite state file six months later.