Initial commit

This commit is contained in:
Yaser
2026-08-13 19:50:53 +03:30
commit 38084458fe
879 changed files with 95198 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
module Jobs
module Cron
module WalletBalances
def self.process
Wallet.active.find_each do |w|
w.update!(balance: w.current_balance)
rescue StandardError => e
report_exception_to_screen(e)
next
end
sleep 60
end
end
end
end