Question

Add a crontab entry that will run the who command at 5:50 p.m. every weekday (Monday...

Add a crontab entry that will run the who command at 5:50 p.m. every weekday (Monday through Friday) and send the output of the command to the /home/student/who-there file. Then, execute the command that will allow you to view the current user’s crontab file.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

SOLUTION-

command 1-

50 17 * * 1-5 who > /home/student/who-there

(this command is used to run entry at 5:50 every Weekday and output will be in /home/student/who-there)

command 2-

crontab -l

(This command is used to allow allow user to view the current crontab file. )


IF YOU HAVE ANY DOUBT PLEASE COMMENT DOWN BELOW I WILL SOLVE IT FOR YOU:)
----------------PLEASE RATE THE ANSWER-----------THANK YOU!!!!!!!!----------

Add a comment
Know the answer?
Add Answer to:
Add a crontab entry that will run the who command at 5:50 p.m. every weekday (Monday...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • For Linux Bash Script: Show the crontab file entry that would run the script from the...

    For Linux Bash Script: Show the crontab file entry that would run the script from the last question, every Monday, Wednesday, and Friday at 5:30 AM.  Assume the name of the script is fileCleanup.sh and that it is located in the ~/script directory.

  • The employees of Neat Clothes work Monday through Friday. Every other Friday the company issues payroll checks totaling $32,000 (or $3,200 per weekday).

    The employees of Neat Clothes work Monday through Friday. Every other Friday the company issues payroll checks totaling $32,000 (or $3,200 per weekday). The current pay period ends on Friday, January 3. Neat Clothes is now preparing financial statements for the year ended December 31. What is the adjusting entry to record accrued salaries at the end of the year? Multiple Choice Debit Salaries Expense and credit Salaries Payable for $22,400. Debit Salaries Expense and credit Salaries Payable for $9,600. Debit Salaries Payable and...

  • Molly Mocha employs one college student every summer in her coffee shop. The student works the...

    Molly Mocha employs one college student every summer in her coffee shop. The student works the five weekdays and is paid on the following Monday. (For example, a student who works Monday through Friday, June 1 through June 5, is paid for that work on Monday. June 8.) The coffee shop adjusts its books monthly, if needed, to show salaries earned but unpaid at month-end. The student works the last week of July, which is Monday, July 28, through Friday,...

  • Molly Mocha employs one college student every summer in her coffee shop. The student works the...

    Molly Mocha employs one college student every summer in her coffee shop. The student works the five weekdays and is paid on the following Monday. (For example, a student who works Monday through Friday, June 1 through June 5, is paid for that work on Monday. June 8.) The coffee shop adjusts its books monthly, if needed to show salaries earned but unpaid at month-end. The student works the last week of July, which is Monday, July 28, through Friday,...

  • QUESTION 1 From YOUR home directory, execute a find command string that will locate the file...

    QUESTION 1 From YOUR home directory, execute a find command string that will locate the file called resolv.conf. Include the -exec flag in the find command to cat the file to the screen. Begin your find search from the letc directory Select the correct find command string below that will accomplish this. find /etc-name 'resolv.conf -cat D find /etc-name 'resolv.conf -exec cat 0 find. -name 'resolv.conf -exec cat 0\ find /-name 'resolv.conf' -exec cat 0 QUESTION 2 What find command...

  • (In Linux) 1. Create a file to write to from your script and save it as...

    (In Linux) 1. Create a file to write to from your script and save it as “.txt”. 2. Write the following information to the file that you created in Step 1: Today's date Your full name Your student ID The name of your course What directory you are in File permissions of the file that you created that allow everyone to read, write, and execute The long list of files in your current directory, providing all items and their process...

  • All commands must be in the command line. The expense data file is separate. Programming Project...

    All commands must be in the command line. The expense data file is separate. Programming Project #2: Manage Spending Using Commands Objectives: • Understand how to create and manipulate list of objects using array or vector class • Handle input errors and invalid values • Design and create a well-structure program using C++ basic programming constructs and classes. Description: Each “expense” contains 2 values: the spending amount (double) and its description (string) Here is an example of the “expense” data...

  • Question 2 0/1 point (graded) What happens when you remove a directory using the command rm...

    Question 2 0/1 point (graded) What happens when you remove a directory using the command rm -r? You cannot remove a directory using the rm command. You permanently remove the entire directory, including all files and subdirectories. You move the entire directory to a trash folder, but it can be restored later. You get a warning message asking if you want to proceed, then you delete the directory. incorrect Answer Incorrect: Try again. Unix does not warn you before permanently...

  • You must first compile both .cs file into .exe. Then, run the server in one command...

    You must first compile both .cs file into .exe. Then, run the server in one command prompt window and run two cilents, each in a separate command prompt window. To quit a client, you may enter no book title but just hit the enter or enter Ctrl-C. The server always displays a message whenever a client is connected and disconnected. <?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key = "U101" value="PHYSICS"/> <add key = "U102" value="EDU"/> <add key = "U103"...

  • 1) Copy bother10.sh from /home/ghoffman/course_files/it244_files to your hw6 directory. Run this program in the background redirecting...

    1) Copy bother10.sh from /home/ghoffman/course_files/it244_files to your hw6 directory. Run this program in the background redirecting output to /dev/null. Be sure you copy and run bother10.sh, NOT bother.sh. 2) Run a command that shows the job number of the process running bother10.sh. 3) Run a command that shows the process ID of the process running bother10.sh. 4) Copy the script make_foo.sh from ~ghoffman/course_files/it244_files to your current directory. Run this script. Using touch, create the file foo.txt. Perform a long listing...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT