Skip to content

Commit

Permalink
Fix cron event time (#1373)
Browse files Browse the repository at this point in the history
  • Loading branch information
goodoldneon committed May 19, 2024
1 parent e51e6fd commit b168766
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkg/execution/runner/runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -263,8 +263,9 @@ func (s *svc) InitializeCrons(ctx context.Context) error {
Data: map[string]any{
"cron": cron,
},
ID: time.Now().UTC().Format(time.RFC3339),
Name: event.FnCronName,
ID: time.Now().UTC().Format(time.RFC3339),
Name: event.FnCronName,
Timestamp: time.Now().UnixMilli(),
})

byt, err := json.Marshal(trackedEvent)
Expand Down

0 comments on commit b168766

Please sign in to comment.