Ask Your Question
0

What is the method to stop the airflow scheduler and webserver?

asked 2022-08-21 11:00:00 +0000

woof gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
2

answered 2023-04-01 02:00:00 +0000

djk gravatar image

To stop the Airflow scheduler and webserver, you need to follow the below steps:

  1. Open up the terminal or command prompt window.
  2. Type in “airflow webserver -p 8080 -D” to start the Airflow webserver in daemon mode.
  3. Next, type in “airflow scheduler” to start the Airflow scheduler.
  4. To stop the running Airflow webserver and scheduler, press “Ctrl + C” in the terminal window. This will stop the process and pull back control to the terminal.
  5. If you’re working with the webserver, you also have to stop the daemon service. You can use the following command to stop the daemon:

$ kill $(cat airflow-webserver.pid)

These steps should help you stop the Airflow scheduler and webserver.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2022-08-21 11:00:00 +0000

Seen: 12 times

Last updated: Apr 01 '23