#!/usr/bin/env ruby

require 'rubygems'
require 'active_support'

class File
  def self.obsolete?(filename)
    File.mtime(filename) < 1.day.ago
  end
end

Dir['*'].each do |filename|
  next if filename =~ /^airbrush/ # leave queue files alone
  File.delete filename if File.obsolete? filename
end

Add supplimentary script for cleaning out older spool paths via cron
Add supplimentary script for cleaning out older spool paths via cron


git-svn-id: 6d9b9a8f21f96071dc3ac7ff320f08f2a342ec80@89 daa9635f-4444-0410-9b3d-b8c75a019348
