feat: implement cron-based automation task scheduling and update task configuration

This commit is contained in:
shiyu
2026-01-15 15:04:10 +08:00
parent 3e1b75d81a
commit ab89451b2d
14 changed files with 232 additions and 60 deletions

View File

@@ -116,8 +116,7 @@ class AutomationTask(Model):
name = fields.CharField(max_length=100)
event = fields.CharField(max_length=50)
path_pattern = fields.CharField(max_length=1024, null=True)
filename_regex = fields.CharField(max_length=255, null=True)
trigger_config = fields.JSONField(null=True)
processor_type = fields.CharField(max_length=100)
processor_config = fields.JSONField()