This repository has been archived by the owner. It is now read-only.
[DEPRECATED] A golang version of cf-cron
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Godeps
.cfignore
.gitignore
CONTRIBUTING.md
LICENSE.md
Procfile
README.md
cf-go-cron.go
cron-tab.yaml.example
manifest.yml

README.md

Cloud Foundry Go Cron App

An application for running cron jobs in a Cloud Foundry app.

Usage

Create a cron-tab.yaml cp cron-tab.yaml.example cron-tab.yaml

Declare jobs in the following format

jobs:
  - name: Job name 1
    schedule: "* * * * * *"
    command: "echo Hello World!"
  - name: Job name 2
    schedule: "*/1 * * * * *"
    command: "echo Hello World!"
  - name: Job name 3
    schedule: "*/3 * * * * *"
    command: "echo Hello World!"

Push to Cloud Foundry cf push