Skip to content

cron/1.1.3

You can find the source of this version on GitHub at cloudfoundry-community/cron-boshrelease. It was created based on the commit eab7446a.

Release Notes

Improvements

Cron entries can now have custom environment variables specified in their configuration via the variables map:

properties:
  cron:
    entries:
    - command: my-cron-command
      minute: 0
      hour: *
      day: *
      month: *
      wday:*
      user: root
      variables:
        DEBUG: true

Acknowledgments

Many thanks to @jmcarp and a hat tip to @cnelson for this feature!

Usage

You can reference this release in your deployment manifest from the releases section:

- name: "cron"
  version: "1.1.3"
  url: "https://bosh.io/d/github.com/cloudfoundry-community/cron-boshrelease?v=1.1.3"
  sha1: "69a98ea02ee5e8cc5a9ad2d6cd08ef0a7fa2c292"

Or upload it to your director with the upload-release command:

bosh upload-release --sha1 69a98ea02ee5e8cc5a9ad2d6cd08ef0a7fa2c292 \
  "https://bosh.io/d/github.com/cloudfoundry-community/cron-boshrelease?v=1.1.3"

Jobs