From 0339b958d296a1916fd3c093ce724cab72c4e086 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C9=91rry=20Shiv=C9=91m?= Date: Wed, 26 Jun 2024 14:55:27 +0530 Subject: [PATCH] Update README.md --- README.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 79d723f..6680b8d 100644 --- a/README.md +++ b/README.md @@ -77,13 +77,12 @@ val job = Job( // Callback function that will be executed when the job is triggered. callback = { println("OneTime Job executed at ${ZonedDateTime.now(timeZone)}") } ) -// add the job to the scheduler +// Add it to the scheduler scheduler.addJob(job) -// ..or like this (shortcut/convinience method) +// or like this! (shortcut / convinience method) // This will create a job with a unique ID and add it to the scheduler -// See the documentation for more details on the parameters and other -// such convinience methods. +// See the documentation for more details on other such convinience methods. scheduler.runRepeating(intervalSeconds = 10) { println("Meow >~<") // every 10 seconds }