122k views
1 vote
1. The system admin staff would like you to create a cron job that runs only on weekdays (Monday - Friday) at 1am, continuously throughout the year. The job should write a list of all processes that are currently running on the host to a file called processes.txt 2. The Helpdesk would like to keep metrics on disk usage for a short period of time. Write a cron job that writes the output of the 'df -h' command to a local file titled metric.txt. The job should run on Wednesday from 10am till 2pm and update every 2 minutes. Make sure that you don't OVERWRITE the data that's already in the file. You'll need to structure your command so that it APPENDS to the file, saving the data that's already been written.

User Vargan
by
6.8k points

1 Answer

3 votes

Answer: idk

Step-by-step explanation:

User Calcutta
by
7.0k points