Skip to content

Commit 9abcd94

Browse files
committed
gateway: accept 'cron' as alias for the schedule command
1 parent 231eeaf commit 9abcd94

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

cmd/gateway_schedule.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@ import (
1616
// Edits land in gateway.yaml; a running gateway picks them up within seconds,
1717
// no restart.
1818
var gatewayScheduleCmd = &cobra.Command{
19-
Use: "schedule",
20-
Short: "Manage scheduled tasks (list, add, remove)",
19+
Use: "schedule",
20+
Aliases: []string{"cron"}, // what OpenClaw calls this — honor migrating muscle memory
21+
Short: "Manage scheduled tasks (list, add, remove)",
2122
RunE: func(cmd *cobra.Command, args []string) error {
2223
return scheduleList(cmd)
2324
},

0 commit comments

Comments
 (0)