Maximize your CompTIA PenTest+ exam preparation with our specialized quiz. Use flashcards and multiple-choice questions, complete with hints and explanations, to enhance your study sessions and excel in your exam!

Each practice test/flash card set has 50 randomly selected questions from a bank of over 500. You'll get a new set of questions each time!

Practice this question and more.


What does the /sc option represent in the schtasks command?

  1. Task description

  2. Schedule type

  3. Task execution time

  4. Run user

The correct answer is: Schedule type

The /sc option in the schtasks command specifies the schedule type of the task being created or configured. This option allows the user to define how often the scheduled task should run. The possible schedule types you can specify include once, daily, weekly, monthly, on startup, on idle, and several others, depending on the needs of the task. For example, if you want a task to run daily, you would use /sc daily in the command. This level of control allows users to automate their processes according to specific requirements, enhancing efficiency and organization in task management. Understanding this option is crucial for effectively scheduling tasks on a Windows system using the command line. The other options pertain to different aspects of task scheduling. Task description refers to the details regarding what the task does, task execution time pertains to when the task is to be executed, and run user addresses the specific user account under which the task will run. However, /sc specifically designates the frequency at which the task is scheduled.