From a32725504d4449cbfe4d7cfe3eeb27c0b2c516dc Mon Sep 17 00:00:00 2001 From: Thomas Oettli Date: Fri, 12 Aug 2022 09:50:29 +0200 Subject: [PATCH] change README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ac3ada9..2f6b711 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,7 @@ The basic idea is to instantiate one or multiple schedulers and map specific ino pyinotifyd has different schedulers to schedule tasks with an optional delay. The advantages of using a scheduler are consistent logging and the possibility to cancel delayed tasks. Furthermore, schedulers have the ability to differentiate between files and directories. ### TaskScheduler -Schedule a custom python method *job* with an optional *delay* in seconds. Skip scheduling of tasks for files and/or directories according to *files* and *dirs* arguments. If there already is a scheduled task, re-schedule it with *delay*. Use *logname* in log messages. +Schedule a custom python method *job* with an optional *delay* in seconds. Skip scheduling of tasks for files and/or directories according to *files* and *dirs* arguments. If there already is a scheduled task, re-schedule it with *delay*. Use *logname* in log messages. All additional modules, functions and variables that are defined in the config file and are needed within the *job*, need to be passed as dictionary to the TaskManager through *global_vars*. All arguments except for *job* are optional. ```python # Please note that pyinotifyd uses pythons asyncio for asynchronous task execution.