change README.md

This commit is contained in:
2020-11-02 18:11:09 +01:00
parent b31fb688b5
commit 6a0296f4c4

View File

@@ -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.
<div class="bg-yellow">
class **TaskScheduler**(*job, delay=0, files=True, dirs=False, logname="TaskScheduler"*)
</div>
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