Smos

A comprehensive self-management system

The Smos Scheduler tool

TODO: This tool is still under construction

Reference

Arguments

Usage: smos-scheduler [--config-file FILEPATH] [--workflow-dir FILEPATH]
                      [--archive-dir FILEPATH] [--projects-dir FILEPATH]
                      [--archived-projects-dir FILEPATH] [--state-file ARG]
  smos-scheduler

Available options:
  -h,--help                Show this help text
  --config-file FILEPATH   The config file to use
  --workflow-dir FILEPATH  The workflow directory to use
  --archive-dir FILEPATH   The archive directory to use
  --projects-dir FILEPATH  The projects directory to use
  --archived-projects-dir FILEPATH
                           The archived projects directory to use
  --state-file ARG         The state file to use

Environment

Available environment variables:

  SMOS_ARCHIVED_PROJECTS_DIR
                         Archived projects directory
  SMOS_ARCHIVE_DIR
                         Archive directory
  SMOS_CONFIG_FILE
                         Workflow directory
  SMOS_PROJECTS_DIR
                         Projects directory
  SMOS_STATE_FILE        The path to the file in which to
                         store the scheduler state
  SMOS_WORKFLOW_DIR
                         Workflow directory

Configuration

# DirectoryConfiguration
workflow-dir: # optional
  # The workflow directory
  <string>
archive-dir: # optional
  # The archive directory
  <string>
projects-dir: # optional
  # The projects directory
  <string>
archived-projects-dir: # optional
  # The archived projects directory
  <string>
# Configuration
scheduler: # optional
  # The scheduler configuration
  # SchedulerConfiguration
  state-file: # optional
    # The file to store the scheduler state in
    <string>
  schedule: # optional
    - # The scheduler schedule
      # ScheduleItem
      template: # required
        # The file to copy from
        <string>
      destination: # required
        # The file to copy to
        <string>
      schedule: # required
        # The schedule on which to do the copying
        <string>