logo

#Cancel orders older than max_age

  1. Set ORDER_MAX_AGE env in seconds (e.g. 28 days):
export ORDER_MAX_AGE=2_419_200
  1. For process order cancel job:
bundle exec rake job job:order:close

New DB Job record:

ColumnValue
id9
nameclose_orders
pointer1607603942
counter2000
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