What is the procedure of "at" and crontab" commands?
Answers were Sorted based on User's Feedback
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 |
Answer / mohan
at - executes single time
crontab- executes Multipuble time
| Is This Answer Correct ? | 7 Yes | 1 No |
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 |
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 |
Which Command is Used for temprary switch User?
What does sed command do in unix?
Assume the following files are in the working directory prompt> ls -l tasks -rw-r--r-- 1 alex student 1423 Feb 21 14:01 tasks What command can Alex use to give everyone permission to write to the file? What will the ls -l command display if he does so?
what is the difference between SED and GREP ? Which one is more better and why?
Why is shebang used?
In Unix file permissions what does the second field denotes?
What are bash commands?
What is .sh file?
How do I search for a file in unix command?
How many bits use for MAC address?
Give the command to display space usage on the UNIX file system.
Who invented grep?