0% found this document useful (0 votes)
210 views1 page

OPS335 Lab 2A W2014

The document discusses a lab assignment to create a script that cleans the /tmp directory weekly, add the script to a crontab, and explain two other entries in the crontab. It provides instructions on what to submit and notes that email submissions will be confirmed.

Uploaded by

Priyan Trivedi
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
210 views1 page

OPS335 Lab 2A W2014

The document discusses a lab assignment to create a script that cleans the /tmp directory weekly, add the script to a crontab, and explain two other entries in the crontab. It provides instructions on what to submit and notes that email submissions will be confirmed.

Uploaded by

Priyan Trivedi
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

OPS335 ~ OPEN SYSTEMS APPLICATION SERVER LAB 2A WINTER 2014

JOVA PROFESSIONAL SERVICES INC.

Focus: Cron 1. Create a script called cleantmp.sh which erases all the contents of /tmp. Store your script in your home directory. 2. Select one of the crontab files on your system User or one of the system level tables. 3. Create an entry in the chosen crontab to execute your script once per week overnight you can choose the day/time. 4. Select two (2) entries from your crontab file and explain when they execute and what is being executed. You will need to research the files on your system to determine what is being executed.

Submission: 1. 2. 3. 4. Submit via email. Copy of cleantmp.sh ls la output showing the location of cleantmp.sh. Listing of your chosen crontab file contents showing both the cleantmp.sh entry as well as the two (2) entries being explained. 5. Explanation for each entry selected.

Lab Details (EMAIL ONLY) EMAIL LABS ARE ONLY CONSIDERED RECEIVED WHEN YOU HAVE RECEIVED A RETURN EMAIL CONFIRMING RECEIPT. PLEASE ENSURE ALL SUBMISSIONS ARE TYPED. HANDWRITTEN SUBMISSIONS WILL NOT BE ACCEPTED. GRADING: AS PUBLISHED ON THE MARKS SHEET

Confidential

Page 1

You might also like