You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: extensions/scheduler/deployment/src/main/java/io/quarkus/scheduler/deployment/devui/SchedulerDevUIProcessor.java
Can you please interpret this cron and describe it in plain English. Reply in markdown format in a field called markdown.
81
+
82
+
Here is the cron: {{cron}}
83
+
""";
84
+
85
+
privatestaticfinalStringCREATE_CRON = """
86
+
Can you create a valid cron expression for the following description: {{description}}
87
+
88
+
Reply with the valid cron in a field called cron. Add an example on how to use this with the quarkus-scheduler extenion in a field called example. For the example please use markdown.
@@ -166,7 +185,7 @@ export class QwcSchedulerScheduledMethods extends LitElement {
166
185
}
167
186
}
168
187
if(schedule.cron){
169
-
trigger=schedule.cronConfig ? html`${trigger}<code>${schedule.cron}</code> configured as <code>${schedule.cronConfig}</code>` : html`${trigger}<code>${schedule.cron}</code>`;
188
+
trigger=schedule.cronConfig ? html`${trigger}<code>${schedule.cron}</code> configured as <code>${schedule.cronConfig}</code>${this._renderInterpretCron(schedule.cronConfig)}` : html`${trigger}<code>${schedule.cron}</code>${this._renderInterpretCron(schedule.cron)}`;
170
189
}else{
171
190
trigger=schedule.everyConfig ? html`${trigger} Every <code>${schedule.every}</code> configured as <code>${schedule.everyConfig}</code>` : html`${trigger} Every <code>${schedule.every}</code>`;
172
191
}
@@ -181,6 +200,74 @@ export class QwcSchedulerScheduledMethods extends LitElement {
0 commit comments