Open main menu

CDOT Wiki β

Changes

OPS245 Lab 5

275 bytes added, 14:55, 7 February 2021
m
Part 2: Using crontab to Automatically Alert System Administrator of Low Hard Disk Space: - moving away from using root for everything.
#Run the '''mail''' command. Do you have a mail message? Enter the mail message number to view the message. If there is a message, what is the purpose of this message?
# Exit from the mail command.
# The script as it is currently written will send the email to root, but we won't be logged in as root most of the time. Change the ADMIN variable in the script to your own username.
# Run the script again and make sure the email message gets delivered to your normal user.
932
edits