How do you schedule a command to run at 4:00 every
morning?

Answer Posted / swaroopa

Step 1. Set environemen variable EDITOR=vi if not set
Step 2. Give command crontab -e
Step 3. Add following entry at the end
0 4 * * * <Your command to run at 4:00 am morning>
1. There are two ways to schedule a script to run exactly
at 4:00 AM every morning

a: CRONTAB
b. AT (at command executes only once)

Crontab format
* * * * * <command>
<minute> <hour> <date> <month> <day_of_the_week> command
<0-59> <0-23> <1-31> <1-12> <0-
7> command

Is This Answer Correct ?    23 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is scripting autism?

700


What makes c shell a more preferable option than the bourne shell?

534


What is bash used for?

577


How do we delete all blank lines in a file?

575


How do I open the shell in cmd?

524






What can scripts do?

662


How will you print the login names of all users on a system?

570


madhar chod unix ke 10 commands dhang se likh nahi sakta hai

2969


What lives in a shell?

537


What are types of shells?

543


How do you find out What is your shell?

590


What is the significance of $#?

586


What is basename in shell script?

589


is this growing field and what is average package in this?

1870


What exactly is a shell?

600