What is the procedure of "at" and crontab" commands?

Answers were Sorted based on User's Feedback



What is the procedure of "at" and crontab" commands?..

Answer / 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

What is the procedure of "at" and crontab" commands?..

Answer / mohan

at - executes single time
crontab- executes Multipuble time

Is This Answer Correct ?    7 Yes 1 No

What is the procedure of "at" and crontab" commands?..

Answer / 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

What is the procedure of "at" and crontab" commands?..

Answer / ajaya kumar

at time commandname - Executes the command at the
perticular time.
crontab -e and type the scheduled job with appropriate
syntax.
- Executes the script at the scheduled times.

Is This Answer Correct ?    3 Yes 3 No

Post New Answer

More Unix Commands Interview Questions

How do you move a process which is running background to foreground?

9 Answers  


what are the different hardwares available?

1 Answers  


How to display no of records in oracle using unix command?

0 Answers  


What is the command to compare two files in unix?

0 Answers  


in a growing log file how will you see the 1st 99 lines?

7 Answers  






Explain ‘library functions’ with respect to unix commands?

0 Answers  


what are the different commands used to view the contents of a file?

5 Answers  


What does this command do,"$more readme.txt“?

0 Answers  


what is the advaantage of each user having its own copy of the shell?

0 Answers   BMC, CNS, DELL, Infosys,


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

0 Answers  


what is the use of nice command?

4 Answers  


what is ls -ltd?

5 Answers   HCL,


Categories