From 63405fc577b25d531d36839e19d0b4581f0885d6 Mon Sep 17 00:00:00 2001 From: Philipp Kunz Date: Mon, 8 Nov 2021 16:52:13 +0100 Subject: [PATCH] fix(readme): fix readme --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 7e61581..e621481 100644 --- a/readme.md +++ b/readme.md @@ -36,7 +36,7 @@ This class provides scheduling of functions with a cron syntax ```typescript import { CronManager } from '@pushrocks/smarrtime'; const cronManagerInstance = new CronManager(); -cronManagerInstance.addConrjob('* * * * * *', async () => { +cronManagerInstance.addCronjob('* * * * * *', async () => { console.log('hello'); // will log 'hello' to console once every second; }); cronManagerInstance.start();