logo

#Archive and delete cancelled orders without any trade older than one week

This job archives orders that were cancelled more than a week ago and didn't produce any trade. Those orders are stored in the archive database and cleaned up from the main database.

Prerequisites

  • Deploy archive database
  • Configure database.yml (archive_db section)

For process order archive job:

bundle exec rake job job:order:archive

New DB Job record:

ColumnValue
id10
namearchive_orders
pointer1607603942
counter6674
datanil
error_code0
error_messagenil
started_atThu 10 Dec 2020 13:39:02 CET +01:00
finished_atThu 10 Dec 2020 13:39:28 CET +01:00