Dedeepya Sunkara’s Post

Devops Hands-on practice with KodeKloud Completed real world task ✨ Task: create a cron job for root user that runs every 5 minutes every day. ➡️ Install Cronie package "sudo yum install -y cronie" ➡️ start crond service "sudo systemctl start crond" ➡️ Check crond service status "systemctl status crond" ➡️ For adding crontab, open root user's crontab "sudo crontab -e" , add "*/5 * * * * /path of the script" and save the file ➡️ Verify the cron job added "sudo crontab -l" 💡 Cronie package contains "crond" daemon and "crontab" utility 👉 crond is the background daemon that runs continuously and checks the task list every minute to see if anything is scheduled to run and executes it. 👉 crontab (cron table) utility is a time-based job scheduler which serves two primary roles:  ⌛Command: The crontab command allows users to create, edit, view, and delete their task schedules. ⌛ File: "crontab file" is a simple text file that stores the list of commands (cron jobs) and the specific times they should run.  #Devops #Linux #DevopsEngineer #Learning #Kodekloud

To view or add a comment, sign in

Explore content categories