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


Please Help Members By Posting Answers For Below Questions

What is the functionality of a top command?

628


What is the difference between cat command and more command?

602


How do I search for text in vi?

591


What is difference between grep and find command in unix?

583


What does the command ' $who | sort –logfile > newfile' do?

774






How many unix commands are there?

632


What is grep short for?

558


What does the command '$ls | wc –l > file1' do?

684


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

802


What is the use of cut command in unix?

696


Explain ‘library functions’ with respect to unix commands?

606


Why is awk called awk?

581


What command is used to switching between users in unix?

566


Who command in unix?

580


How can you see the command line history?

588