Title
Create new category
Edit page index title
Edit category
Edit link
Running Apache Airflow Commands via CLI
Prerequisites
Before executing any Airflow commands through the CLI, ensure that you have activated the appropriate Airflow environment.
Steps to Run Airflow Commands
Access the Node: Log in to the server where the Apache Airflow Scheduler and Webserver are installed.
Navigate to the Airflow Home Directory: Move to the directory configured as the Airflow home location.
Activate the Virtual Environment: To ensure all package installations remain isolated and consistent, activate the virtual environment used by Airflow:
Set the Environment Variables: Export the Airflow Home and Airflow Configuration file paths to ensure the CLI commands use the correct configuration:
Run the Airflow CLI Commands: Once the environment variables are set, you can execute any Airflow CLI command. The configuration file located in the Airflow home directory will be used automatically.