From 4542c9263d112bfe1285bdefd23c8378e9fe1061 Mon Sep 17 00:00:00 2001 From: LolzTheDev Date: Fri, 19 Jul 2024 19:36:12 -0500 Subject: [PATCH] add task kill method --- 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 588d30dad..be45919a9 100644 --- a/src/content/docs/v4/reference/tasks.mdx +++ b/src/content/docs/v4/reference/tasks.mdx @@ -26,4 +26,4 @@ export default scheduledTask({ The `trigger` is a cron tab pattern, you can edit and test one [here](https://crontab.guru/). -:::tip If you want to cancel a task in the future, you'll need to know it's name! ::: +:::tip If you want to cancel a task in the future, you'll need to know it's name! `deps['@sern/scheduler'].kill(uuid)` will kill the task. :::