Question

In: Computer Science

Run /home/melissa/backup.sh on January 2 at 6:15 A.M.

  1. Run /home/melissa/backup.sh on January 2 at 6:15 A.M.

Solutions

Expert Solution

It is a Examples of crontab entries

On Unix-like operating systems, the crontab command opens the cron table for editing. The cron table is the list of tasks scheduled to run at regular time intervals on the system.

The daemon which reads the crontab and executes the commands at the right time is called cron. It's named after Kronos, the Greek god of time.

Run the shell script /home/melissa/backup.sh on January 2 at 6:15 A.M:

15 6 2 1 * /home/melissa/backup.sh

Days and months can be listed by name (Monday) or abbreviation (Jan). Zeroes at the beginning of a number are valid, which can help you make multiple entries line up visually.

For instance, the next example runs the same script as above, at 12:01 A.M., every Monday in January:

01 00 * Jan Monday /home/melissa/backup.sh

Run /home/carl/hourly-archive.sh every hour, on the hour, from 9 A.M. (09:00) through 6 P.M. (18:00), every day:

00 09-18 * * * /home/carl/hourly-archive.sh

Same as the above, but run it every twenty minutes:

*/20 09-18 * * * /home/carl/hourly-archive.sh

Run /home/wendy/script.sh every Monday, at 9 A.M. and 6 P.M:

0 9,18 * * Mon /home/wendy/script.sh

Run /usr/local/bin/backup at 10:30 P.M., every weekday:

30 22 * * Mon,Tue,Wed,Thu,Fri /usr/local/bin/backup

Related Solutions

An IV of 1,000 mL is to infuse from 6 a.m. until 2 p.m. The drop...
An IV of 1,000 mL is to infuse from 6 a.m. until 2 p.m. The drop factor is 15 gtt/mL. Calculate the flow rate.__________    At 11 a.m. you notice that 750 mL has infused. Recalculate the flow rate for the remaining solution. _____________ Does it fall within the safe range for recalculating an IV flow rate? ________
An IV of 1,000 mL is to infuse from 6 a.m. until 2 p.m. The drop...
An IV of 1,000 mL is to infuse from 6 a.m. until 2 p.m. The drop factor is 15 gtt/mL. Calculate the flow rate
Exercise 15-25 Lessor; sales-type lease; residual value effect on financial statements [LO15-2, 15-6] At January 1,...
Exercise 15-25 Lessor; sales-type lease; residual value effect on financial statements [LO15-2, 15-6] At January 1, 2018, Café Med leased restaurant equipment from Crescent Corporation under a nine-year lease agreement. The lease agreement specifies annual payments of $30,000 beginning January 1, 2018, the beginning of the lease, and at each December 31 thereafter through 2025. The equipment was acquired recently by Crescent at a cost of $225,000 (its fair value) and was expected to have a useful life of 13...
Melissa Price bought a 15-year bond issued by Kroger ten yearsago for $1,013.09. The bond...
Melissa Price bought a 15-year bond issued by Kroger ten years ago for $1,013.09. The bond makes semiannual coupon payments at a rate of 10.4 percent. If the current price of the bonds is $976.29, what is the yield that Melissa would earn by selling the bond today?PLEASE FIND THE FOLLOWINGn =i =PV =PMT =FV =
Question 18 On January 1, 2016, Melissa Company purchased a building and machinery that have the...
Question 18 On January 1, 2016, Melissa Company purchased a building and machinery that have the following useful lives, salvage value, and costs. Building, 25-year estimated useful life, $8,650,000 cost, $865,000 salvage value Machinery, 10-year estimated useful life, $1,430,000 cost, no salvage value The building has been depreciated under the straight-line method through 2020. In 2021, the company decided to switch to the double-declining balance method of depreciation for the building. Melissa also decided to change the total useful life...
  Henrique Correa's bakery prepares all its cakes between 4 A.M. and 6 A.M.so they will...
  Henrique Correa's bakery prepares all its cakes between 4 A.M. and 6 A.M.so they will be fresh when customers arrive. Day-old cakes are virtually always sold, but at a 50% discount off the regular $10 price. The cost of baking a cake is $7, and demand is estimated to be normally distributed, with a mean of 25 and a standard deviation of 8. What is the optimal stocking level? Refer to the standard normal table for z-values.   The...
The home run percentage is the number of home runs per 100 times at bat. A...
The home run percentage is the number of home runs per 100 times at bat. A random sample of 43 professional baseball players gave the following data for home run percentages. 1.6 2.4 1.2 6.6 2.3 0.0 1.8 2.5 6.5 1.8 2.7 2.0 1.9 1.3 2.7 1.7 1.3 2.1 2.8 1.4 3.8 2.1 3.4 1.3 1.5 2.9 2.6 0.0 4.1 2.9 1.9 2.4 0.0 1.8 3.1 3.8 3.2 1.6 4.2 0.0 1.2 1.8 2.4 (a) Use a calculator with mean...
The home run percentage is the number of home runs per 100 times at bat. A...
The home run percentage is the number of home runs per 100 times at bat. A random sample of 43 professional baseball players gave the following data for home run percentages. 1.6 2.4 1.2 6.6 2.3 0.0 1.8 2.5 6.5 1.8 2.7 2.0 1.9 1.3 2.7 1.7 1.3 2.1 2.8 1.4 3.8 2.1 3.4 1.3 1.5 2.9 2.6 0.0 4.1 2.9 1.9 2.4 0.0 1.8 3.1 3.8 3.2 1.6 4.2 0.0 1.2 1.8 2.4 (a) Use a calculator with mean...
The home run percentage is the number of home runs per 100 times at bat. A...
The home run percentage is the number of home runs per 100 times at bat. A random sample of 43 professional baseball players gave the following data for home run percentages. 1.6 2.4 1.2 6.6 2.3 0.0 1.8 2.5 6.5 1.8 2.7 2.0 1.9 1.3 2.7 1.7 1.3 2.1 2.8 1.4 3.8 2.1 3.4 1.3 1.5 2.9 2.6 0.0 4.1 2.9 1.9 2.4 0.0 1.8 3.1 3.8 3.2 1.6 4.2 0.0 1.2 1.8 2.4 (a) Use a calculator with mean...
The home run percentage is the number of home runs per 100 times at bat. A...
The home run percentage is the number of home runs per 100 times at bat. A random sample of 43 professional baseball players gave the following data for home run percentages.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT