mirror of
https://github.com/we-promise/sure.git
synced 2026-04-08 14:54:49 +00:00
* FIX logos * Implement merchant mods * FIX confirm issue * FIX linter * Add recently seen merchants to re-add if needed * Update merge.html.erb * FIX do security check * Add error handling for update failures.
39 lines
1.2 KiB
YAML
39 lines
1.2 KiB
YAML
import_market_data:
|
|
cron: "0 22 * * 1-5" # 5:00 PM EST / 6:00 PM EDT (NY time) Monday through Friday
|
|
class: "ImportMarketDataJob"
|
|
queue: "scheduled"
|
|
description: "Imports market data daily at 5:00 PM EST (1 hour after market close)"
|
|
args:
|
|
mode: "full"
|
|
clear_cache: false
|
|
|
|
clean_syncs:
|
|
cron: "0 * * * *" # every hour
|
|
class: "SyncCleanerJob"
|
|
queue: "scheduled"
|
|
description: "Cleans up stale syncs"
|
|
|
|
run_security_health_checks:
|
|
cron: "0 2 * * 1-5" # 2:00 AM EST / 3:00 AM EDT (NY time) Monday through Friday
|
|
class: "SecurityHealthCheckJob"
|
|
queue: "scheduled"
|
|
description: "Runs security health checks to detect issues with security data"
|
|
|
|
sync_all_accounts:
|
|
cron: "22 2 * * *" # every 24 hours at 2:22am
|
|
class: "SyncAllJob"
|
|
queue: "scheduled"
|
|
description: "Syncs all accounts for all families"
|
|
|
|
sync_hourly:
|
|
cron: "0 * * * *" # every hour at the top of the hour
|
|
class: "SyncHourlyJob"
|
|
queue: "scheduled"
|
|
description: "Syncs provider items that opt-in to hourly syncing"
|
|
|
|
clean_data:
|
|
cron: "0 3 * * *" # daily at 3:00 AM
|
|
class: "DataCleanerJob"
|
|
queue: "scheduled"
|
|
description: "Cleans up old data (e.g., expired merchant associations)"
|