cronjob

command
v0.0.0-...-f01068e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 21, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

README

CronJob

This sample shows how to create a Cron Event Source and hook it up to a Batch Job. The typical scenario here is that you want to run a certain task periodically - usually at a certain time during the day. For example, perhaps to do something each day at midnight.

The Job will log (print to stdout) the event just to prove that it was invoked. Whether a real Job actually uses the event itself, or ignores it, is up to the developer of the Job.


As noted in the main README, this sample has two pieces:

  • a build script which will build the container image(s) used
  • a run script which deploys resources that use those images

The main purpose of this example is the run script, but the build script is included for complete educational (and reuse) purposes.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL