Skip to content

Instantly share code, notes, and snippets.

@mapledyne
Created June 30, 2015 19:05
Show Gist options
  • Save mapledyne/63ab7fc4785b93b9f145 to your computer and use it in GitHub Desktop.
Save mapledyne/63ab7fc4785b93b9f145 to your computer and use it in GitHub Desktop.
Clear Dashing widgets
require 'rubygems'
SCHEDULER.cron '0 0 * * *' do
Sinatra::Application.settings.history.clear()
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment