2
0
mirror of https://github.com/inventree/inventree-docs.git synced 2025-09-13 22:21:33 +00:00

Update metadata

Closes #282
This commit is contained in:
Matthias Mair
2022-05-25 22:30:33 +02:00
parent 57004689a8
commit a55a68d629
8 changed files with 25 additions and 24 deletions

View File

@@ -16,13 +16,13 @@ The ScheduleMixin class provides a plugin with the ability to call functions at
An example of a plugin which supports scheduled tasks:
```python
class ScheduledTaskPlugin(ScheduleMixin, SettingsMixin, IntegrationPluginBase):
class ScheduledTaskPlugin(ScheduleMixin, SettingsMixin, InvenTreePlugin):
"""
Sample plugin which runs a scheduled task, and provides user configuration.
"""
PLUGIN_NAME = "Scheduled Tasks"
PLUGIN_SLUG = 'schedule'
NAME = "Scheduled Tasks"
SLUG = 'schedule'
SCHEDULED_TASKS = {
'global': {