Functions can used as sinks for Knative Eventing event sources such as CronJob.

Here's how to setup a function as an event sink for the CronJob event source:

    handler: gcr.io/knative-releases/github.com/knative/eventing-contrib/cmd/event_display:latest
      - cron:
          schedule: '* * * * *'
          data: '{"message": "Hello world from a Cron event source!"}'

Have questions?

Head over to the forums to search for your questions and issues or post a new one.