Class: WorkflowManager::FGCZDebian10DemoCluster

Inherits:
FGCZDebian10Cluster show all
Defined in:
lib/workflow_manager/cluster.rb

Instance Attribute Summary

Attributes inherited from Cluster

#log_dir, #name, #options

Instance Method Summary collapse

Methods inherited from FGCZDebian10Cluster

#cluster_nodes, #job_ends?, #job_pending?, #job_running?, #kill_command, #parse, #submit_job

Methods inherited from Cluster

#cluster_nodes, #default_node, #generate_new_job_script, #initialize, #job_ends?, #job_pending?, #job_running?, #kill_command, #node_list, #submit_job

Constructor Details

This class inherits a constructor from WorkflowManager::Cluster

Instance Method Details

#copy_commands(org_dir, dest_parent_dir, now = nil, queue = "light") ⇒ Object



551
552
553
# File 'lib/workflow_manager/cluster.rb', line 551

def copy_commands(org_dir, dest_parent_dir, now=nil, queue="light")
  commands = ["rsync -r #{org_dir} #{dest_parent_dir}/"]
end

#delete_command(target) ⇒ Object



554
555
556
# File 'lib/workflow_manager/cluster.rb', line 554

def delete_command(target)
  command = "rm -rf #{target}"
end