Schedule


schedule_simple

Trigger a repaired outcome when a job should be run

Compatible with nodes running Rudder 3.1 or higher.

Usage

This bundle will define a class schedule_simple_${job_id}_{kept,repaired,not_ok,ok,reached} * _ok or _kept for when there is nothing to do * _repaired if the job should run * _not_ok and _reached have their usual meaning

Parameters

  • job_id: A string to identify this job
  • agent_periodicity: How often you run the agent in minutes
  • max_execution_delay_minutes: On how many minutes you want to spread the job
  • max_execution_delay_hours: On how many hours you want to spread the job
  • start_on_minutes: At which minute should be the first run
  • start_on_hours: At which hour should be the first run
  • start_on_day_of_week: At which day of week should be the first run
  • periodicity_minutes: How often should the job run
  • periodicity_hours: How often should the job run
  • periodicity_days: How often should the job run
  • mode: "nodups": avoid duplicate runs in the same period / "catchup": avoid duplicates and one or more run have been missed, run once before next period / "stateless": no check is done on past runs

Classes defined

schedule_simple_${job_id}_{kept, repaired, not_ok, reached}


schedule_simple_catchup

Trigger a repaired outcome when a job should be run

Compatible with nodes running Rudder 3.1 or higher.

Usage

This bundle will define a class schedule_simple_${job_id}_{kept,repaired,not_ok,ok,reached} * _ok or _kept for when there is nothing to do * _repaired if the job should run * _not_ok and _reached have their usual meaning

Parameters

  • job_id: A string to identify this job
  • agent_periodicity: How often you run the agent in minutes
  • max_execution_delay_minutes: On how many minutes you want to spread the job
  • max_execution_delay_hours: On how many hours you want to spread the job
  • start_on_minutes: At which minute should be the first run
  • start_on_hours: At which hour should be the first run
  • start_on_day_of_week: At which day of week should be the first run
  • periodicity_minutes: How often should the job run
  • periodicity_hours: How often should the job run
  • periodicity_days: How often should the job run
  • mode: "nodups": avoid duplicate runs in the same period / "catchup": avoid duplicates and one or more run have been missed, run once before next period / "stateless": no check is done on past runs

Classes defined

schedule_simple_${job_id}_{kept, repaired, not_ok, reached}


schedule_simple_nodups

Trigger a repaired outcome when a job should be run

Compatible with nodes running Rudder 3.1 or higher.

Usage

This bundle will define a class schedule_simple_${job_id}_{kept,repaired,not_ok,ok,reached} * _ok or _kept for when there is nothing to do * _repaired if the job should run * _not_ok and _reached have their usual meaning

Parameters

  • job_id: A string to identify this job
  • agent_periodicity: How often you run the agent in minutes
  • max_execution_delay_minutes: On how many minutes you want to spread the job
  • max_execution_delay_hours: On how many hours you want to spread the job
  • start_on_minutes: At which minute should be the first run
  • start_on_hours: At which hour should be the first run
  • start_on_day_of_week: At which day of week should be the first run
  • periodicity_minutes: How often should the job run
  • periodicity_hours: How often should the job run
  • periodicity_days: How often should the job run
  • mode: "nodups": avoid duplicate runs in the same period / "catchup": avoid duplicates and one or more run have been missed, run once before next period / "stateless": no check is done on past runs

Classes defined

schedule_simple_${job_id}_{kept, repaired, not_ok, reached}


schedule_simple_stateless

Trigger a repaired outcome when a job should be run

Compatible with nodes running Rudder 3.1 or higher.

Usage

This bundle will define a class schedule_simple_${job_id}_{kept,repaired,not_ok,ok,reached} * _ok or _kept for when there is nothing to do * _repaired if the job should run * _not_ok and _reached have their usual meaning

Parameters

  • job_id: A string to identify this job
  • agent_periodicity: How often you run the agent in minutes
  • max_execution_delay_minutes: On how many minutes you want to spread the job
  • max_execution_delay_hours: On how many hours you want to spread the job
  • start_on_minutes: At which minute should be the first run
  • start_on_hours: At which hour should be the first run
  • start_on_day_of_week: At which day of week should be the first run
  • periodicity_minutes: How often should the job run
  • periodicity_hours: How often should the job run
  • periodicity_days: How often should the job run
  • mode: "nodups": avoid duplicate runs in the same period / "catchup": avoid duplicates and one or more run have been missed, run once before next period / "stateless": no check is done on past runs

Classes defined

schedule_simple_${job_id}_{kept, repaired, not_ok, reached}