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


Please Help Members By Posting Answers For Below Questions

What is the difference between grep and grep?

804


Explain how to use grep command to list find the records of a file containing 10 different strings?

809


What is the nmap command?

812


What is the use of finger command?

846


How can we use grep command in unix?

851


How is the command '$cat file2 ' different from '$cat >file2 and >> redirection operators ?

986


Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?

1035


How do you grep recursively?

786


What is the use of egrep command in unix?

838


How do I find previous commands in unix?

826


What is the comma to show the space allocation of files?

774


Enlist some filename manipulation commands in unix.

763


Who command in unix?

798


What is the command to find maximum memory taking process on the server?

891


What is “chmod” command?

760