Add support for cron expressions for scheduling timer functions

This commit is contained in:
Peter Stockings
2025-11-27 15:51:15 +11:00
parent f3c2664b31
commit 3f9fa79515
7 changed files with 152 additions and 44 deletions

View File

@@ -38,7 +38,9 @@ history_url=url_for('timer.history', function_id=function_id)) }}
showDeleteButton: true,
isTimer: true,
showTimerSettings: true,
frequencyMinutes: {{ timer_function.frequency_minutes }},
triggerType: '{{ timer_function.trigger_type }}',
frequencyMinutes: {{ timer_function.frequency_minutes or "null" }},
cronExpression: '{{ timer_function.cron_expression or "" }}',
cancelUrl: "{{ url_for('timer.overview') }}",
generateUrl: "{{ url_for('llm.generate_script') }}",
showPublicToggle: false,