How do you schedule a command to run at 4:00 every
morning?
Answers were Sorted based on User's Feedback
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 |
Answer / guest
* 4 * * * * <command to run>
= this is in cron job
| Is This Answer Correct ? | 0 Yes | 2 No |
What is @echo off?
write a shell script that counts a number of unique word contained in the file and print them in alphabetical order line by line?
write a shell script to check the failed jobs?
What is the basic difference you find between a shell script and perl?
Explain about "s" permission bit in a file?
write a shell script to generate a alert ? like when ur birthday came then generate a alert ur birthday is today like that ?
How do I run a script from command prompt?
How do I run a powershell script?
What are the advantages of shell scripting?
What does path stand for?
wats the deinitions for shell utility and filter?
What is the way to do multilevel if-else's in shell scripting?