Which command is described as capable of scheduling a command to run later?

Study for the SANS560 GIAC Penetration Tester (GPEN) Test. Study with flashcards and multiple choice questions, each question has hints and explanations. Get ready for your exam!

Multiple Choice

Which command is described as capable of scheduling a command to run later?

Explanation:
Scheduling a command to run later is about queuing a one-time task for a future moment. The at command is designed precisely for this: you specify the time (and optionally date) and provide the command to execute, and the system runs it at that moment. This makes it the natural fit for a single delayed execution. Other options serve different purposes. schtasks is for creating and managing scheduled tasks in Task Scheduler, which can be recurring or more complex; psexec runs commands immediately on remote systems; WMIC is for system management and querying, not for scheduling future actions. So, for scheduling a command to run later in a straightforward way, the at command is the best choice.

Scheduling a command to run later is about queuing a one-time task for a future moment. The at command is designed precisely for this: you specify the time (and optionally date) and provide the command to execute, and the system runs it at that moment. This makes it the natural fit for a single delayed execution.

Other options serve different purposes. schtasks is for creating and managing scheduled tasks in Task Scheduler, which can be recurring or more complex; psexec runs commands immediately on remote systems; WMIC is for system management and querying, not for scheduling future actions. So, for scheduling a command to run later in a straightforward way, the at command is the best choice.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy