From ad235aba31d5910f188288edac1bcd82fa1c813b Mon Sep 17 00:00:00 2001 From: Thomas Oettli Date: Mon, 2 Nov 2020 18:02:38 +0100 Subject: [PATCH] change README.md --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f629671..8036c57 100644 --- a/README.md +++ b/README.md @@ -35,8 +35,9 @@ pyinotifyd comes with different schedulers to schedule tasks with an optional de ### TaskScheduler This scheduler is used to run Python functions. -class TaskScheduler(*job, delay=0, files=True, dirs=False, logname="TaskScheduler"*) - Return a TaskScheduler object configured to call the Python function *job* with a delay of *delay* seconds. Use *files* and *dirs* to define if *job* is called for events on files and/or directories. Log messages with *logname*. +
class **TaskScheduler**(*job, delay=0, files=True, dirs=False, logname="TaskScheduler"*)
+ +Return a **TaskScheduler** object configured to call the Python function *job* with a delay of *delay* seconds. Use *files* and *dirs* to define if *job* is called for events on files and/or directories. Log messages with *logname*. ### ShellScheduler