code: func cronHandler(handler func(c context.Context) error) func(c *router.Context) {
  	return func(ctx *router.Context) {
  		if err := handler(ctx.Context); err != nil {
  			logging.WithError(err).Errorf(ctx.Context, "failed to run")
  			ctx.Writer.WriteHeader(http.StatusInternalServerError)
  			return
  		}
  		ctx.Writer.WriteHeader(http.StatusOK)
  	}
  }
docs: // cronHandler is a wrapper for cron handlers which do not require template rendering.