encore-go-cron
Installation
SKILL.md
Encore Go Cron Jobs
Instructions
A cron.NewJob declaration in Encore Go ties a schedule to an existing //encore:api endpoint. The endpoint runs at the chosen cadence. Declare the job as a package-level variable — not inside a function.
package cleanup
import (
"context"
"encore.dev/cron"
)