Linux CLI - Cron and SchedulingYou want to run a backup script every weekday at 11:45 PM. Which cron expression should you use?A45 11 * * 1-5B23 45 * * 1-5C45 23 * * 1-5D45 23 * * 6,7Check Answer
Step-by-Step SolutionSolution:Step 1: Identify time fields11:45 PM means hour=23, minute=45.Step 2: Identify daysWeekdays are Monday to Friday, day of week=1-5.Step 3: Match expressionMinute=45, hour=23, day of week=1-5, others are *.Final Answer:45 23 * * 1-5 -> Option CQuick Check:Hour 23 and minute 45 with weekdays 1-5 [OK]Quick Trick: Hour is 24-hour format; 11 PM is 23 [OK]Common Mistakes:Swapping hour and minuteUsing weekend days instead of weekdaysUsing 11 instead of 23 for hour
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