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