MVP Created

This commit is contained in:
William Gill
2025-10-05 22:54:24 +00:00
parent db5c975846
commit a8e4e799e2
237 changed files with 55 additions and 303149 deletions

View File

@@ -53,12 +53,12 @@ func startTasks() {
log.Fatal().Err(err).Msgf("")
}
task := camera.CaptureImage()
// Schedule the job
_, err = s.NewJob(
gocron.CronJob(config.CaptureChron, false),
gocron.NewTask(task),
gocron.NewTask(func() {
camera.CaptureImage()
}),
)
if err != nil {
log.Fatal().Err(err).Msgf("")