Module cron

Typedefs

typedef cron::cronjob_name
  • Base type string

  • Type constraint (self regex re.compile('^[a-zA-Z0-9]+$'))

Entities

entity cron::Cronjob

Parents: std::PurgeableResource

attribute cron::cronjob_name name

The name of the cronjob.

attribute string user

Command will be executed with this user.

attribute string schedule

A cron expression indicating when the command should be executed.

attribute string command

The command executed when the cronjob fires.

attribute dict env_vars=Dict()

The environment variables that should be available to the command being executed.

relation std::Host host [1]

other end: std::Host.cronjobs [0:*]

The following implementations are defined for this entity:

The following implements statements select implementations for this entity:

Implementations

implementation cron::cronjob