Skip to content

Commit

Permalink
chore(cmd): Add interval to cron log
Browse files Browse the repository at this point in the history
  • Loading branch information
gabe565 committed Nov 16, 2024
1 parent c1cbbad commit bd94d18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ func run(cmd *cobra.Command, args []string) error {
domains.Tick(cmd.Context(), integrations)

if conf.Every != 0 {
slog.Info("Running as cron")
slog.Info("Running as cron", "interval", conf.Every)

ticker := time.NewTicker(conf.Every)
for range ticker.C {
Expand Down

0 comments on commit bd94d18

Please sign in to comment.