Which command allows you to schedule tasks for specific times and dates?

Disable ads (and more) with a premium pass for a one time $4.99 payment

Boost your Linux skills with the CompTIA Linux+ Certification Exam simulator. Engage with multiple choice questions and detailed feedback. Master Linux concepts and prepare for your exam with confidence!

The command that enables you to schedule tasks for specific times and dates is "at." The "at" command is designed for one-time task scheduling. When you use "at," you can specify a time or date at which a command or script will be executed. This is particularly useful for tasks that need to run once at a future point in time, such as sending reminders or performing maintenance tasks.

In contrast, while "cron" is another task scheduling command available in Linux, it is intended for recurring tasks. "Cron" allows users to set up schedules for commands or scripts to run at specified intervals - for example, every day at midnight or every Monday at 8 AM. This makes it more suitable for automated processes that need to repeat rather than execute just once.

The options "schedule" and "tasker" do not refer to standard commands in Linux for scheduling tasks and might cause confusion. Hence, the proper choice for scheduling a task for a specific one-time occurrence is indeed the "at" command.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy