lib/sushi_fabric/sushiApp.rb in sushi_fabric-0.5.5 vs lib/sushi_fabric/sushiApp.rb in sushi_fabric-0.5.6
- old
+ new
@@ -1,8 +1,8 @@
#!/usr/bin/env ruby
# encoding: utf-8
-# Version = '20160303-160844'
+# Version = '20160317-153334'
require 'csv'
require 'fileutils'
require 'yaml'
require 'drb/drb'
@@ -410,10 +410,11 @@
project_number = @project.gsub(/p/, '')
@workflow_manager||=DRbObject.new_with_uri(WORKFLOW_MANAGER)
script_content = File.read(job_script)
job_id = 0
begin
- job_id = @workflow_manager.start_monitoring(job_script, @user, 0, script_content, project_number, gsub_options.join(' '), @gstore_script_dir)
+ #job_id = @workflow_manager.start_monitoring(job_script, @user, 0, script_content, project_number, gsub_options.join(' '), @gstore_script_dir)
+ job_id = @workflow_manager.start_monitoring2(job_script, @user, 0, script_content, project_number, gsub_options.join(' '), @gstore_script_dir)
rescue => e
time = Time.now.strftime("[%Y.%m.%d %H:%M:%S]")
@logger.error("*"*50)
@logger.error("submit_command error #{time}")
@logger.error("error: #{e}")