Computers and Technology

Working as your regular user, use crontab to schedule the report. sh script to run every Mon/Wed/Fri at 8:00 AM. (Hint: In the crontab file, you can specify the days of the week as 1,3,5.) Note: Be sure to create the crontab file for your user. Don't edit the system crontab in the /etc directory. See the "SCHEDULING JOBS" section in the assigned reading for the crontab command option to edit jobs for the current user.
Working as a regular user, set up an automated backup of your home directory.
Use the tar command to write the contents of your home directory to an archive file named /tmp/student_home. tar, where student is the regular user's username.
Modify the tar command to add gzip compression and name the file /tmp/student_home. tgz, where student is the username.
Modify the command to use command substitution to add the current date to the name of the output file.
(Hint: The command date \+\%Y\%m\%d outputs an appropriately formatted date. The backslash (\) characters are needed when using the date command in a crontab file to indicate to the parent shell it should ignore the special characters so they are passed to the date command correctly).
Note: You can use command substitution to include the current date as part of a file name. See step 1.e above for an example of how the LOGFILE name includes the current date. Include the date in the tar archive file name in a similar manner.
Use the crontab command to schedule the final tar command that you created in the above step to run every Saturday at 10:00 PM.
Take a screenshot of the crontab -l command's output. Make sure to capture the whole terminal window. This is a deliverable below. (See man crontab if you don't know what the -l option does.)

answer
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 09:50, brennarfa
17. implement the jvm dload instruction for the mic-2. it has a 1-byte index and pushes the local variable at this position onto the stack. then it pushes the next higher word onto the stack as well
Answers: 2
image
Computers and Technology, 22.06.2019 12:00, dani19cano
The following function returns a string of length n whose characters are all 'x'. give the order of growth (as a function of n) of the running time. recall that concatenating two strings in java takes time proportional to the sum of their lengths. public static string f(int n) { if (n == 0) return ""; if (n == 1) return "x"; return f(n/2) + f(n - n/2); } options: a) constant b) logarithmic c) linear d) linearithmic e)quadratic f)cubic g) exponential
Answers: 2
image
Computers and Technology, 23.06.2019 17:30, kenyasutton10
What are the most commonly found items in the trash according to the municipal solid waste report?
Answers: 1
image
Computers and Technology, 24.06.2019 00:20, talyku843
Describe a data structures that supports the stack push and pop operations and a third operation findmin, which returns the smallest element in the data structure, all in o(1) worst-case time.
Answers: 2
Do you know the correct answer?
Working as your regular user, use crontab to schedule the report. sh script to run every Mon/Wed/Fri...

Questions in other subjects: