Below is a comprehensive summary in English, covering all the topics from the provided file (Chapter 5, Part 2 on Process Management and Task Scheduling). This summary includes command explanations, code examples, and the concepts you need to know in order to pass your exam. Treat this as your all-in-one study guide.
In Linux, there are two main ways to schedule tasks (jobs):
at: Schedules a task once at a specific time (or date).crontab (Cron jobs): Schedules tasks repetitively, at regular intervals (daily, weekly, monthly, etc.).at CommandBefore using at, you may need to install it on your system (e.g., on Ubuntu/Debian-based systems):
sudo apt install at
at Commandat command is used to schedule one-time tasks for execution at a specific date and/or time.at [time] [date/day]
time is mandatory.date/day is optional. If omitted, the system assumes the current date.or
```bash
at 10:30
```
```bash
at 10:30 tomorrow
```