diff --git a/cmd/ddns/ddns.go b/cmd/ddns/ddns.go index 424fc98c..fa3a0455 100644 --- a/cmd/ddns/ddns.go +++ b/cmd/ddns/ddns.go @@ -117,14 +117,19 @@ func realMain() int { //nolint:funlen c.Monitor.Failure(ctx, ppfmt, msg) } } - first = false - // Maybe the cron was disabled? + // Check if cron was disabled if c.UpdateCron == nil { ppfmt.Infof(pp.EmojiBye, "Bye!") return 0 + } else if first && !ppfmt.IsEnabledFor(pp.Verbose) { + // Currently, the quiet mode is too quiet, and some system (Raspberry Pi 4) is not happy + // with empty log. As a workaround, we will print a Notice here. See #426. + ppfmt.Noticef(pp.EmojiRepeat, "Enabled cron schedule for %s", formatName()) } + first = false + // Maybe there's nothing scheduled in near future? if next.IsZero() { ppfmt.Errorf(pp.EmojiUserError, "No scheduled updates in near future") diff --git a/internal/pp/emoji.go b/internal/pp/emoji.go index 2627b3f8..792710ea 100644 --- a/internal/pp/emoji.go +++ b/internal/pp/emoji.go @@ -20,7 +20,7 @@ const ( EmojiClearRecord Emoji = "๐Ÿงน" // clearing DNS records EmojiNotification Emoji = "๐Ÿ””" // sending out notifications, pinging, health checks - EmojiRepeatOnce Emoji = "๐Ÿ”‚" // repeating things once + EmojiRepeat Emoji = "๐Ÿ”" // repeating things EmojiSignal Emoji = "๐Ÿšจ" // catching signals EmojiAlreadyDone Emoji = "๐Ÿคท" // DNS records were already up to date