Displaying 1 result from an estimated 1 matches for "mypsa".
Did you mean:
mypca
2006 Jul 31
0
MY worker won''t stop working
...and process() returns.
This is the main code from the process_cdr class:
def stop_process
@running = false
end
def process
@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(:al...