# File monit/lib/symbiosis/monitor/state_db.rb, line 95 def clean(n_days = 30, now = Time.now) from = (now.to_i - n_days*24*3600) @dbh.execute("DELETE FROM #{@tbl_name} WHERE timestamp < ? ", from) end