feat(messages): attachment retention task
This commit is contained in:
parent
bcf47ec92b
commit
a96f21134e
3 changed files with 19 additions and 2 deletions
|
|
@ -173,6 +173,9 @@ default: &defaults
|
|||
# default to allow automatically adding new articles on sync only when less than 200 articles in total
|
||||
#shared_supplier_article_sync_limit: 200
|
||||
|
||||
# number of days after which attachment files get deleted
|
||||
#attachment_retention_days: 365
|
||||
|
||||
development:
|
||||
<<: *defaults
|
||||
|
||||
|
|
|
|||
|
|
@ -12,9 +12,10 @@ every :weekday, at: %w[5:56am 6:04pm] do
|
|||
rake 'multicoops:run TASK=foodsoft:import_and_assign_bank_transactions'
|
||||
end
|
||||
|
||||
# Weekly taks
|
||||
# Weekly tasks
|
||||
every :sunday, at: '7:14 am' do
|
||||
rake 'multicoops:run TASK=foodsoft:create_upcoming_periodic_tasks'
|
||||
rake 'multicoops:run TASKS=foodsoft:prune_old_attachments'
|
||||
end
|
||||
|
||||
# Finish ended orders
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue