Sha256: dab9544102d78dae92e551b56038bb0c9153a48fcaf9646a24d2bdbc9a594496

Contents?: true

Size: 265 Bytes

Versions: 1

Compression:

Stored size: 265 Bytes

Contents

require 'xing/snapshot/remote_site_snapshot'

task :take_snapshot => :environment do
  # is there anything else to this? I don't think so -- just set this up in a cron job
  Xing::Snapshot::RemoteSiteSnapshot.create!(Rails.application.secrets.sitemap_base_url)
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
xing-backend-1.0.0.pre.beta lib/xing/tasks/take_snapshot.rake