Indian Institute of Technology Madras
BS Degree Programme · Examination & Study Paper
System Commands
Scheduling jobs with cron
Examination Instructions & Guidelines
- Solve on notebook/paper first before checking solutions.
- MCQ: Exactly 1 option is correct. Negative marking applies.
- MSQ: One or more options correct. Select all to score.
- NAT: Numerical response. No negative marking.
- Scientific calculator allowed for all calculations.
- Official answer key is sealed at the end of this sheet.
End Term · 31 Aug 2025 (FN)End Term
- Q1MSQ5 Marks·Choose all correct options

- A

- B

- C

- D

- A
End Term · 31 Aug 2025 (AN)End Term
- Q2NAT5 Marks·Write the number
Your answer:
End Term · 13 Apr 2025 (FN)End Term
- Q3MCQ7 Marks·Choose one option
Schedule the script /home/user/backup.sh to meet the following requirements 1. The job should run at the 2nd minute of every hour, but only during weekdays (Monday to Friday). 2. Additionally, the job must not run during the first and last days of each month. 3. It should execute a script located at /home/user/backup.sh and log the output to /var/log/backup.log (append mode). Which of the following exact crontab entry is used to schedule this job.
- A

- B

- C

- D

- A
End Term · 22 Dec 2024 (FN)End Term
- Q4MCQ4 Marks·Choose one option

- AEvery 15th of October at 23:45
- BEvery 15th of November at 23:45
- CEvery day at 23:45 in October
- DEvery day at 15:45 in October
End Term · 22 Dec 2024 (AN)End Term
- Q5MCQ4 Marks·Choose one option

- AEvery Monday at 02:30 in June
- BEvery Tuesday at 02:30 in June
- CEvery Monday at 06:30 in June
- DEvery Tuesday at 06:30 in July