diff --git a/cron_generate.go b/cron_generate.go index 6d69e42..8ca7601 100644 --- a/cron_generate.go +++ b/cron_generate.go @@ -13,6 +13,8 @@ func init() { c := cron.New() c.AddFunc("0 * * * * *", generateZonefiles) c.Start() + + go generateZonefiles() } func generateZonefiles() {