Linux CLI - Cron and SchedulingWhat does the cron expression 0 12 * * * do?ARuns a job every hour at minute 12BRuns a job every day at 12:00 PM (noon)CRuns a job every 12 minutesDRuns a job every 12 hoursCheck Answer
Step-by-Step SolutionSolution:Step 1: Understand the cron fieldsThe fields are: minute, hour, day of month, month, day of week. Here, minute=0, hour=12, others are * (any).Step 2: Interpret the expressionThis means the job runs when minute is 0 and hour is 12, every day, every month, any day of week.Final Answer:Runs a job every day at 12:00 PM (noon) -> Option BQuick Check:Cron expression meaning = Runs daily at noon [OK]Quick Trick: Minute and hour fields define exact time, * means every [OK]Common Mistakes:Confusing hour and minute fieldsThinking * means no runMixing day of week and day of month
Master "Cron and Scheduling" in Linux CLI9 interactive learning modes - each teaches the same concept differentlyLearnWhyDeepVisualTryChallengeProjectRecallTime
More Linux CLI Quizzes Archiving and Compression - tar (create and extract archives) - Quiz 15hard Archiving and Compression - bzip2 and xz compression - Quiz 3easy Cron and Scheduling - systemd timers - Quiz 12easy Cron and Scheduling - Why cron automates recurring tasks - Quiz 8hard Environment and Configuration - Aliases for shortcuts - Quiz 5medium Package Management - Installing, updating, removing packages - Quiz 2easy System Administration - System resource monitoring (free, uptime, vmstat) - Quiz 3easy System Administration - Why sysadmin skills manage production servers - Quiz 3easy System Administration - journalctl for systemd logs - Quiz 11easy System Administration - Firewall basics (ufw, iptables) - Quiz 9hard