Вы находитесь на странице: 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

Вам также может понравиться