What is the procedure of "at" and crontab" commands?
Answer Posted / subbareddy kake
at:If you want postpone the excution of process we can use
at command.but you should specify time for running process.
batch:This command also works like at but here no need
specify the time.Unis OS itself decide the time for
processing the job.
crontab:If you want run some jobs at daily or some times u
can keep those jobs in crontab file.those are cronjobs.
crontab -l:To open crontab file
crontab -e:To edit the crontab file
crontab -r:To remove the crontab file
* * * * * job name
star1:min(1 to 59)
star2:hour(0 to 23)
star3:day of the month(1 to 31)
star4:month(1 to 12)
star5:day of the week(0 to 6)
here zero indicates sunday
15 05 * * 1-5 job schedule----->This job will run everday
at 5:15am except sunday.
Like this so many jobs we can keep in one crontab file.
| Is This Answer Correct ? | 10 Yes | 0 No |
Post New Answer View All Answers
Is there any method to erase all files in the current directory, along with its all sub-directories, by using only one command?
What is the function of grep command in unix?
What is grep r?
Is it inbetween or in between?
Which command is used to copy files?
What is merge command in unix?
What is the difference between grep and grep?
Describe the zip/unzip command using gzip.
What is pipe command in unix?
Why is it called a shebang?
Which command is used to delete all files in the current directory and all its sub-directories?
Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?
How do I open a port?
Can you explain a little bit about command substitution?
What is the use of awk command in unix?