feat(scheduler): Remove Schedule "Every Minute" Option (#10706)

This simply removes the schedule "every minute" option from the schedule
tasks UI, Its still possible to set a every minute schedule via the
custom option

### Checklist 📋

#### For code changes:
- [x] I have clearly listed my changes in the PR description
- [x] I have made a test plan
- [x] I have tested my changes according to the test plan:
  <!-- Put your test plan here: -->
- [x] Check the Schedule Tasks UI to see there is no more "Every Minute"
option
- [x] Check you can still set a schedule a agent to run every minute
using the custom option
This commit is contained in:
Bently
2025-08-24 22:15:11 +01:00
committed by GitHub
parent a54bed6d68
commit 61f17e5b97

View File

@@ -98,7 +98,6 @@ export function CronScheduler({
<SelectValue placeholder="Select frequency" />
</SelectTrigger>
<SelectContent>
<SelectItem value="every minute">Every Minute</SelectItem>
<SelectItem value="hourly">Every Hour</SelectItem>
<SelectItem value="daily">Daily</SelectItem>
<SelectItem value="weekly">Weekly</SelectItem>
@@ -323,7 +322,7 @@ export function CronScheduler({
</div>
)}
{frequency !== "every minute" && frequency !== "hourly" && (
{frequency !== "hourly" && (
<div className="flex items-center gap-4 space-y-2">
<Label className="pt-2">At</Label>
<Input