127k views
4 votes
Listen to exam instructions. What is the full path and filename of the file that is used to schedule tasks for the anacron daemon?

A) /etc/anacrontab
B) /var/spool/anacron/schedule
C) /usr/bin/anacron
D) /home/user/taskschedule.txt

User Ashishduh
by
7.0k points

1 Answer

3 votes

Final answer:

The file used to schedule tasks for the anacron daemon is located at /etc/anacrontab. This file holds configuration for tasks on systems not running 24/7, which anacron handles, as opposed to cron.

Step-by-step explanation:

The full path and filename of the file that is used to schedule tasks for the anacron daemon is /etc/anacrontab. The anacrontab file is a configuration file that the anacron daemon uses to determine when and how frequently to run periodic tasks on systems that are not running continuously. This differentiates it from cron, which assumes the system is always on. In contrast, anacron is designed to manage tasks that should be run periodically whether the system has been on constantly or not.

As for the options provided: Option B) /var/spool/anacron/schedule is incorrect because it's not a standard location for the anacron configuration file. Option C) /usr/bin/anacron refers to the anacron executable itself, not its configuration file. Lastly, Option D) /home/user/taskschedule.txt doesn't follow typical Unix system file conventions for daemon configuration files.

The full path and filename of the file used to schedule tasks for the anacron daemon is /etc/anacrontab. This file is located in the /etc directory and contains the scheduling information for anacron. It specifies when and how often certain tasks should be executed.

User Yurisnm
by
8.2k points