Company
Date Published
Author
Chuck Bear
Word count
1055
Language
English
Hacker News points
None

Summary

The text introduces Scheduled Workflows, a cloud-based scheduling service that combines the familiar `cron`-like functionality with the execution guarantees of DBOS Transact, ensuring that tasks are completed exactly once. It details how to create a workflow using the DBOS Transact library in Python and TypeScript, exemplified by a nightly report function that calculates daily sales and sends a summary email using Amazon SES. The service guarantees reliable execution through a unique key system that deduplicates workflow runs, even in the event of interruptions, by transparently restarting tasks. Scheduled Workflows offer seamless serverless deployment via DBOS Cloud, which provides a stable environment with automatic job recovery, making it an appealing choice for developers seeking to avoid server management. The article encourages developers to explore further by engaging with the DBOS community and accessing resources like GitHub repositories and documentation.