Class: TaskLoop::Run

Inherits:
Command
  • Object
show all
Includes:
DSL, ProjTaskList
Defined in:
lib/taskloop/command/run.rb

Constant Summary

Constants inherited from Command

Command::DOLPHIN, Command::LOGO

Instance Attribute Summary

Attributes included from ProjTaskList

#proj_tasklist_map

Instance Method Summary collapse

Methods included from ProjTaskList

#clean_cache_file_if_needed, #construct_proj_tasklist_map, #create_data_proj_description_if_needed, #create_data_proj_dir_if_needed, #eval_taskfile

Methods included from DSL

#after, #at, #before, #between, #date, #env, #from, #interval, #loop, #time, #to

Methods inherited from Command

#create_dir_if_needed, #create_file_if_needed, #create_taskloop_file_structure_if_needed, #initialize, #taskloop_cron_log_path, #taskloop_cron_tab_path, #taskloop_data_dir, #taskloop_data_proj_dirs, #taskloop_dir, #taskloop_environments_path, #taskloop_proj_list_dirs, #taskloop_proj_list_path, #taskloop_taskfile_paths, #tasklooprc_path

Constructor Details

This class inherits a constructor from TaskLoop::Command

Instance Method Details

#runObject

Utils Methods



39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# File 'lib/taskloop/command/run.rb', line 39

def run
  super
  create_data_proj_dir_if_needed
  create_data_proj_description_if_needed

  construct_proj_tasklist_map
  setup_task_property

  create_data_proj_task_log_if_needed
  create_data_proj_task_time_if_needed
  create_data_proj_task_loop_if_needed

  execute_tasks_if_needed
  clean_cache_file_if_needed
end