IBM
C4040-221 · Question #27
A user wants to run a batch job repetitively, but requires that each invocation starts five hours after the previous run finishes. What strategy will accomplish this?
The correct answer is D. Create a file containing the job commands, using the 'at' command as the final line of the file. See the full explanation below for the reasoning.
Question
A user wants to run a batch job repetitively, but requires that each invocation starts five hours after the previous run finishes. What strategy will accomplish this?
Options
- ACreate a wrapper script that launches the job in the background and then sleeps for the designated
- BSubmit the job with 'at', using the average run time of the job plus five hours as the interval.
- CAdd an entry to the crontab to submit the job every five hours.
- DCreate a file containing the job commands, using the 'at' command as the final line of the file.
How the community answered
(58 responses)- A2% (1)
- B5% (3)
- C9% (5)
- D84% (49)
Community Discussion
No community discussion yet for this question.