Tasks
Bu içerik henüz dilinizde mevcut değil.
Your app may need to execute tasks in the future on intervals or over a long time.
If you haven’t already, add the tasks directory to your config
1export const tasks = "./dist/tasks"Defines a task that runs every minute.
1import { scheduledTask } from "@sern/handler";2
3export default scheduledTask({4 trigger: "* * * * *",5 execute: (context) => {6 console.log("cron cron")7 }8})