Question
John is a system administrator. He works remotely and charges by the hour. The customer doesn't understand John's job. So John takes a few minutes
John is a system administrator. He works remotely and charges by the hour. The customer doesn't understand John's job. So John takes a few minutes to write a file named jobToDo, containing all the lines that he'd normally have to enter in the Shell for his job. Then, he writes a script doMyJob.sh that schedules all the lines to be run, waiting for 5 minutes between each line. So for example, the first line runs now, 5 mins later the next line will run, etc. John wants to start the script and go play at the Casino while charging the customer for 5 hours worth of work.
Write the script to help John enjoy life. To run a line, give it as argument to exec.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started