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 |
How will you connect to a database server from linux?
How can we find the process name from its process id?
wats the she bang statment with syntax?
What is shell scripting?
Write a shell script to get current date, time, user name and current working directory.
How to customise the other shell?
What is the significance of the shebang line in shell scripting?
Which scripting language is best for automation?
What does .sh file contain?
if i have 2 files file1 and file2.... file1 contains 2 columns like b a 11 aa 12 as 13 ad 15 ag 11 ar 13 ah 15 ak file2 contains b c 10 ds 11 at 15 gh 15 jk 13 iu 11 fg 13 yy can any 1 give me the program to display in this way? a b c aa 11 at ar 11 fg ad 13 iu ah 13 yy ag 15 gh ak 15 jk
What is basename in shell script?
How to set an array in linux?