Skip to main content

command

Function command 

Source
pub async fn command(
    config: &Config,
    env: &BTreeMap<String, String>,
    listen: Option<IpAddr>,
    __arg3: (bool, bool),
) -> Result<(), AppError>
Expand description

Runs schedr standalone until Ctrl-C or SIGTERM, the REST API on listen (127.0.0.1 when not given); the banner goes to the log once it listens.

ยงErrors

As plan and run.