change README.md
This commit is contained in:
@@ -214,6 +214,8 @@ enableSyslog(lglevel=INFO, name="daemon")
|
|||||||
|
|
||||||
## Schedule python method for all events on files and directories
|
## Schedule python method for all events on files and directories
|
||||||
```python
|
```python
|
||||||
|
import logging
|
||||||
|
|
||||||
async def custom_job(event, task_id):
|
async def custom_job(event, task_id):
|
||||||
logging.info(f"{task_id}: execute example task: {event}")
|
logging.info(f"{task_id}: execute example task: {event}")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user