change README.md
This commit is contained in:
@@ -35,7 +35,7 @@ pyinotifyd comes with different schedulers to schedule tasks with an optional de
|
|||||||
### TaskScheduler
|
### TaskScheduler
|
||||||
This scheduler is used to run Python functions.
|
This scheduler is used to run Python functions.
|
||||||
|
|
||||||
<div class="bg-yellow">class **TaskScheduler**(*job, delay=0, files=True, dirs=False, logname="TaskScheduler"*)</div>
|
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*.
|
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*.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user