nerdexam
IBM

S2000-025 · Question #78

An administrator has scheduled a job using cron to run a script every day at midnight, but they want to temporarily disable that script. What is the simplest and least error-prone way to accomplish…

The correct answer is B. Add # at the beginning of the line in the crontab file. You've hit your weekly limit · resets 5am (America/New_York)

AIX 7.3 System Management

Question

An administrator has scheduled a job using cron to run a script every day at midnight, but they want to temporarily disable that script. What is the simplest and least error-prone way to accomplish this?

Options

  • AChange the permissions so that the crontab cannot be executed
  • BAdd # at the beginning of the line in the crontab file
  • CUse the crontab -d command to disable the crontab
  • DDelete the line from the crontab file and add it again when it is needed again

How the community answered

(49 responses)
  • A
    16% (8)
  • B
    71% (35)
  • C
    8% (4)
  • D
    4% (2)

Explanation

You've hit your weekly limit · resets 5am (America/New_York)

Topics

#cron#job scheduling#crontab#task management

Community Discussion

No community discussion yet for this question.

Full S2000-025 Practice