What is the procedure of "at" and crontab" commands?
Answer Posted / s.rajasekhar
at - executes single time
crontab- executes Multiple time.
at:If you want postpone the excution of process we can use
at command.but you should specify time for running process.
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 everyday
at 5:15am except Sunday.
Like this so many jobs we can keep in one crontab file.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Why is it called a shebang?
How does shebang work?
What does the command '$ls | wc –l > file1' do?
Name the unix command to find how many days the server has been up.
What does grep v do?
Which unix command to make a new directory?
Explain command to view process running?
Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.
What are the differences among a system call, a library function, and a unix command?
What is awk command used for?
What's a command word?
What is grep short for?
Write a command that will display files in the current directory, in a colored, long format.
What does this command do? Cat food 1 > kitty
hw will u use awk in replacing cahrs and files