A security engineer maintains a script on a Linux system that searches logs for unusual network events. The engineer needs it to run at 2 AM with no user intervention. Which method best ensures it runs at that time every day?
Embed its execution steps into a network access control mechanism
Attach it to an environment configuration file for interactive user sessions
Add an entry in the scheduling daemon that triggers it at the specified hour
Create a manual reminder so an administrator can trigger it after midnight
Leveraging a scheduling daemon is a reliable way to ensure the script executes on a time-based schedule without manual action. Placing a script in a firewall rule or an environment variable does not provide a consistent time-based schedule. Manually launching it is prone to human error.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.