Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

System Administration Cron Introductory Activity Read and follow all instructions carefully! Preparations: Create a new subdirectory cron in / home / STUDENTS / majors /

System Administration Cron Introductory Activity
Read and follow all instructions carefully!
Preparations:
Create a new subdirectory cron in
/home/STUDENTS/majors/teststu/SysAdmin/SUBMISSIONS/LAST_FIRST/ and change permissions on your directory to make sure it is not accessible by "others",
Scripts:
Write a script named
greetings.sh in that directory that will append a message without the appended ID numbers and Y is the current date and time to a file named greetings.txt also located in the cron directory you created.
Make this script executable by user.
Cron Setup:
Edit your crontab to execute the script above at 11:59pm on Saturday of the last week of June.
Create a second entry that will execute it at half past the hour, every hour on Wednesdays starting on the Wednesday following the Friday listed above.
Create a third entry that will execute at 12:00pm (NOON) on the next Friday (end of week after the saturday referenced in step 1 above.
DO NOT edit the contents of greetings.txt directly. The only modifications to the contents of this file result from executing the script.
Any attempt to alter those contents manually may result in a grade of 'F' for the course. I'm
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Intelligent Information And Database Systems Second International Conference Acids Hue City Vietnam March 2010 Proceedings Part 1 Lnai 5990

Authors: Manh Thanh Le ,Jerzy Swiatek ,Ngoc Thanh Nguyen

2010th Edition

3642121446, 978-3642121449

More Books

Students also viewed these Databases questions

Question

6 8 8 .

Answered: 1 week ago

Question

Explain benefits and costs of international trades?

Answered: 1 week ago