mirror of
https://github.com/offen/docker-volume-backup.git
synced 2026-04-24 17:35:34 +02:00
Move cron scheduling inside application (#338)
* Move cron scheduling inside application * Make envvar a fallback and check for errors * Panic significantly less * propagate error out of runBackup * Add structured logging * FIx error propagation to exit * Enable the new scheduler by default * Review fixes * Added docs and better error propagation
This commit is contained in:
2
go.mod
2
go.mod
@@ -28,6 +28,8 @@ require (
|
||||
github.com/golang-jwt/jwt/v5 v5.2.0 // indirect
|
||||
github.com/golang/protobuf v1.5.3 // indirect
|
||||
golang.org/x/time v0.0.0-20220609170525-579cf78fd858 // indirect
|
||||
github.com/joho/godotenv v1.5.1 // indirect
|
||||
github.com/robfig/cron/v3 v3.0.0 // indirect
|
||||
google.golang.org/appengine v1.6.7 // indirect
|
||||
google.golang.org/protobuf v1.31.0 // indirect
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user