mirror of
https://github.com/inventree/InvenTree.git
synced 2026-10-05 18:01:14 +00:00
Fix docstring for @scheduled_task decorator (#5626)
This commit is contained in:
1 parent
240a2e91dd
commit
d4f7e1130e
1 file changed
+3
-2
@@ -269,8 +269,9 @@ def scheduled_task(interval: str, minutes: int = None, tasklist: TaskRegister =
|
||||
|
||||
Example:
|
||||
```python
|
||||
@register(ScheduledTask.DAILY)
|
||||
def my_custom_funciton():
|
||||
@scheduled_task(ScheduledTask.DAILY)
|
||||
def my_custom_function():
|
||||
# Perform a custom function once per day
|
||||
...
|
||||
```
|
||||
|
||||
|
||||
Reference in new issue
Block a user