Skip to content

Instantly share code, notes, and snippets.

@mutuelinvestor
Created October 15, 2011 18:04
Show Gist options
  • Save mutuelinvestor/1289906 to your computer and use it in GitHub Desktop.
Save mutuelinvestor/1289906 to your computer and use it in GitHub Desktop.
scheduled job test
my_job.rb
class MyJob
attr_accessor :log
def run()
log.info( "Executing the job" )
end
end
torquebox.yml
application:
jobs:
MyJob:
job: MyJob
cron: '*/5 * * * * ?'
description: Testing scheduled job functionality
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment