change README.md

This commit is contained in:
2022-09-04 11:23:17 +02:00
parent 01ccd1817d
commit 88ce35930c

View File

@@ -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}")