Home  >  Article  >  System Tutorial  >  How to delete crontab scheduled tasks in Linux?

How to delete crontab scheduled tasks in Linux?

王林
王林forward
2023-12-31 15:41:381386browse

I want to shut down the crontab schedule service created in Linux. How to shut it down? Let’s take a look at the detailed tutorial below.

1. View scheduled tasks

1. Open the terminal command window

How to delete crontab scheduled tasks in Linux?

2. Enter the command: crontab -lView the created scheduled tasks

How to delete crontab scheduled tasks in Linux?

2. Delete scheduled tasks

1. We use the command: crontab -e

How to delete crontab scheduled tasks in Linux?

2. Press Enter to enter the planned service configuration interface of the crontab command

How to delete crontab scheduled tasks in Linux?

3. Use "dd" directly, delete scheduled tasks

How to delete crontab scheduled tasks in Linux?

4. Enter the command “:wq!”Save and exit

How to delete crontab scheduled tasks in Linux?

5. Use crontab -l to check again. There will be no scheduled tasks

How to delete crontab scheduled tasks in Linux?

The above is the detailed content of How to delete crontab scheduled tasks in Linux?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:jb51.net. If there is any infringement, please contact admin@php.cn delete