I have this code:
// main.go
package magnum
import (
"net/http"
"google.golang.org/appengine"
"google.golang.org/appengine/log"
)
func init() {
http.HandleFunc("/tasks/backup", handler)
}
func handler(w http.ResponseWriter, r *http.Request) {
ctx := appengine.NewContext(r)
log.Debugf(ctx, "Testing cron tasks using Go")
}
// cron.yaml
cron:
- description: extraction
url: /tasks/backup
schedule: every 5 minutes
And I'm not seeing "Testing cron tasks using Go" text when I check the logs on GAE dashboard. Facts:
- Locally, I can see that text when I test the cron task using development environment
- On deployed, I can see a successful request on GAE dashboard when task is performed
- Standar Environment
What could I be missing?