updated notes
This commit is contained in:
@@ -212,6 +212,24 @@ sudo nano /etc/fstab # Add the following line to the fstab file: UUID=1234567890
|
|||||||
sudo mount -a # Mount all filesystems
|
sudo mount -a # Mount all filesystems
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Automatic Services & Task Scheduling
|
||||||
|
|
||||||
|
### cron
|
||||||
|
```bash
|
||||||
|
sudo crontab -e # Edit the cron table
|
||||||
|
|
||||||
|
sudo crontab -l # List the cron table
|
||||||
|
|
||||||
|
### crontab format
|
||||||
|
```
|
||||||
|
* * * * * command # Run the command every minute
|
||||||
|
|
||||||
|
0 12 * * * command # Run the command at 12:00 PM
|
||||||
|
|
||||||
|
0 0 * * * command # Run the command at 12:00 AM
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user