Skip to content

Instantly share code, notes, and snippets.

@frommww
Created June 13, 2012 19:02
Show Gist options
  • Save frommww/2925809 to your computer and use it in GitHub Desktop.
Save frommww/2925809 to your computer and use it in GitHub Desktop.
Scheduling a worker to run once a day
client = IronWorkerNG::Client.new
params = {
# include the params the scheduled job needs
}
client.schedules.create("notification_scheduler", params,
:start_at => Time.now, :run_every => 60*60*24)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment