cloud-gov / cg-cron

[DEPRECATED] Run cron jobs in a Cloud Foundry app.
Other
13 stars 9 forks source link

Credentials? #9

Open jessieay opened 9 years ago

jessieay commented 9 years ago

I am going to deploy a small project I am working on the Cloud Foundry. It's Rails and I have a rake task I'd like to run once per day, so cf-cron seems like the way to go

When looking at the README, I see that credentials:

This app expects a bound service holding credentials

What types of credentials does it require? My rake task will need to know about ENV vars, but I am going to put those on CF separately.

monfresh commented 8 years ago

I'm also confused about how to use this. I'd like to use cf-cron to run a Ruby file within a Sinatra app. The app already has the proper ENV vars set via cf set-env. How do I add cf-cron to my app? Is the presence of a crontab.yml enough?