Explain how you would use crontab to schedule a script that finds and removes your old temporary files in /tmp at the start of each day.

What will be an ideal response?


The script uses find with the –mtime argument to find all files older than one day and the –exec
argument to remove them. When setting up the crontab file, use “*” for all specifications except
hours and minutes so that it runs every day at the specified time.

Computer Science & Information Technology

You might also like to view...

________ is the process of translating a task into a series of commands that a computer will use to perform the task

A) Analyzing B) Programming C) Diagramming D) Debugging

Computer Science & Information Technology

Match the following actions to their correct description

I. Point II. Display the shortcut menu III. Drag IV. Click the right mouse button A. To display a screen tip B. Short-cut menu opens C. Click and hold the left mouse button D. Click the right mouse button

Computer Science & Information Technology

To deselect one of the selected multiple controls, press and hold ________ while clicking with the pointer

A) [Alt] B) [Tab] C) [Ctrl] D) [Esc]

Computer Science & Information Technology

A set of names, addresses, and phone numbers stored as a table is an example of a(n) ____.

A. index B. data structure C. object D. queue

Computer Science & Information Technology