Displaying 1 result from an estimated 1 matches for "phone_service_cdr".
2006 Jul 31
0
MY worker won''t stop working
...s
@running = true
@time_start = Time.new.to_f
@files_processed = 0
phone_service_accounts = PhoneServiceAccount.find(:all)
phone_service_accounts.each do |myPsa| process_class_name =
myPsa.process_class
@current_account = myPsa.name
if @file.strip.length == 0
@phone_service_cdr = PhoneServiceCdr.find(:all, :conditions =>
"processed = ''n''")
else
@phone_service_cdr = PhoneServiceCdr.find(:all, :conditions =>
"processed = ''n'' AND name=''#{@file}''")
end
@total_files = @phone...