From 6a0296f4c4fdfe779ac65dbef3874fa8a9c265aa Mon Sep 17 00:00:00 2001 From: Thomas Oettli Date: Mon, 2 Nov 2020 18:11:09 +0100 Subject: [PATCH] change README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 866f8a0..3de42bd 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*. ### ShellScheduler