From ddf443f51e9c145a4ee3220be1f24ab9d62b7e10 Mon Sep 17 00:00:00 2001 From: Jacob Nguyen <76754747+jacoobes@users.noreply.github.com> Date: Thu, 18 Jul 2024 21:01:07 -0500 Subject: [PATCH] Update tasks.mdx --- src/content/docs/v4/reference/tasks.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/docs/v4/reference/tasks.mdx b/src/content/docs/v4/reference/tasks.mdx index b672fed6f..de5fc09ff 100644 --- a/src/content/docs/v4/reference/tasks.mdx +++ b/src/content/docs/v4/reference/tasks.mdx @@ -17,7 +17,7 @@ Defines a task that runs every minute. import { scheduledTask } from "@sern/handler"; export default scheduledTask({ - name: "* * * * *", + trigger: "* * * * *", execute: (context) => { console.log("cron cron") }