Setyenv · Docs
  • English
  • Spanish
  • Chinese
  • Japanese
  • Arabic
  • German
  • French
  • Hindi
  • Indonesian
  • Italian
  • Dutch
  • Portuguese
  • Russian
  • Turkish

Configuration

The executor reads a TOML file from the user config directory:

PlatformDefault path
Linux~/.config/wp-executor/config.toml
macOS~/Library/Application Support/wp-executor/config.toml
Windows%APPDATA%\wp-executor\config.toml

Override with --config /path/to/config.toml or WP_EXECUTOR_CONFIG=/path in the environment.

Minimum config

base_url     = "https://your-wordpress-site.example.com"
bearer_token = "pfw_worker_<id>_<secret>"

Without base_url and bearer_token the worker refuses to start.

Full reference

The complete set of tunables — poll interval, lease duration, capability allowlist, body-signing toggle, log level, working directory, etc. — is documented inline in scripts/config.example.toml and stays in lockstep with the binary. That file is the canonical reference; copy and adapt it for production deployments.