diff --git a/src/rhcsa.md b/src/rhcsa.md index 28a5e7b..2ca4012 100644 --- a/src/rhcsa.md +++ b/src/rhcsa.md @@ -212,6 +212,24 @@ sudo nano /etc/fstab # Add the following line to the fstab file: UUID=1234567890 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 +``` + +