This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT | |
d.order_id AS OrderID, | |
o.ship_date AS ShipDate, | |
a.shipping_company AS ShippingCompany, | |
a.shipping_city AS ShippingCity, | |
a.shipping_state AS ShippingState, | |
a.shipping_zip AS ShippingZip, | |
d.client_reference AS ClientReference, | |
m.carrier AS Carrier, | |
IF(ISNULL(bo.bol_id), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'time' | |
require 'date' | |
class Keeper | |
EXPIRE_TIME = 1209600 # 14 days | |
def initialize(path) | |
@root = Dir.new(path) | |
@client_folders = {} |
NewerOlder