With SCF scheduled triggers, you can quickly create and complete scheduled tasks without having to purchase computing resources in advance. Such triggers leverage Serverless' powerful elastic scalability to provide stable and fast capabilities of scheduled task processing.
Unlike other event triggers, scheduled triggers can execute tasks by using scheduled time-driven functions. Specifically, you can configure Cron expressions to quickly use such triggers without relying on external invocations. They have natural advantages in typical scheduled task scenarios such as automated monitoring, testing, and alarming, automated task execution, and data archiving, cleansing, and backup. The relevant workflow is as shown below:
The following table lists existing templates for typical use cases and their specific descriptions:
|Function Processing Scenario||Description|
|High-availability scheduled testing||Use SCF to implement high-availability scheduled testing.|
|Scheduled task execution||Use SCF and Puppeteer to perform scheduled tasks on webpage content such as data collection and storage.|
|Scheduled report push||Use SCF, MTA, and WeCom bot to perform scheduled tasks such as report content collection and data display.|
|Scheduled data archiving and backup||Use SCF to regularly back up databases to COS.|
SCF offers a free tier for scheduled tasks, and excessive usage will incur corresponding computation fees. For billing details, please see Billing Overview.