Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

Answers were Sorted based on User's Feedback



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

Answer / 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

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

Answer / premitha

Using cron jobs

Is This Answer Correct ?    3 Yes 0 No

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

Answer / king

Using cron tab scheduler

Is This Answer Correct ?    1 Yes 0 No

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

Answer / satchi

crontab -e

* 4 * * * <command>

Is This Answer Correct ?    2 Yes 3 No

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

Answer / guest

* 4 * * * * <command to run>

= this is in cron job

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More Shell Script Interview Questions

Is shell a part of kernel?

0 Answers  


How can I Debug a shell scripts and Perl scripting?? or How do you debug a shell scripting and perl scripting ( at the compile time error or run time error) in Unix environment ?

4 Answers  


When should shell programming/scripting not be used?

0 Answers  


Where cron file kept?

2 Answers   Tech Mahindra,


How to sort a result of Ls -l command based on columns. Ex. i want to sort 5th column from output of ls -l command.

6 Answers   TCS,


What does debug script mean?

0 Answers  


Explain about "s" permission bit in a file?

0 Answers  


write a non recursive shell script that accepts any number of arguments and prints them in the reverse order

3 Answers  


What is the syntax of "expr" command?

2 Answers  


How will you find the 99th line of a file using only tail and head command?

0 Answers  


how to print the matrix form of 2-d, 3-d arrays in unix c shell scripts ?

0 Answers  


How to write a function?

0 Answers  


Categories