Skip to content

Commit 06402fa

Browse files
NicL9923claude
andcommitted
fix(web): keep the cron example on one line in the help text
Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 parent ea2f979 commit 06402fa

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

‎apps/web/src/components/settings/ScheduledTasksSettings.tsx‎

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -380,8 +380,13 @@ function CronExpressionField({
380380
id="scheduled-task-cron-help"
381381
className={error === null ? "text-xs text-muted-foreground" : "text-xs text-destructive"}
382382
>
383-
{error ??
384-
"Minute, hour, day of month, month, weekday, in the environment's time zone. */30 9-16 * * 1-5 runs every 30 minutes from 9:00 to 16:30 on weekdays."}
383+
{error ?? (
384+
<>
385+
Minute, hour, day of month, month, weekday, in the environment's time zone.{" "}
386+
<span className="whitespace-nowrap font-mono">{DEFAULT_CRON_EXPRESSION}</span> runs
387+
every 30 minutes from 9:00 to 16:30 on weekdays.
388+
</>
389+
)}
385390
</p>
386391
</div>
387392
);

0 commit comments

Comments
 (0)