what is the difference between "cron" command and "at" command?
Answers were Sorted based on User's Feedback
Answer / sureshreddy
at: this command to schedule the specified job onl once.
cron: this command to schedule the specified job repeatedly.
Is This Answer Correct ? | 78 Yes | 5 No |
Answer / vishnu
Cron can be scheduled with different choices
(minute,hour,month,dayofmonth,dayofweek). cron can be
edited,deleted,listed,scheduled at any time and for
repeated time intervals.
AT can be scheduled for once.cannot be edited, can be
deleted, can be listed.
so, 2 main differences:-
cron:can be scheduled for repeated jobs
AT: can be scheduled for only once
cron can be edited
AT cannot be edited, after its schedule.
both can facilitate listing and deletion
Is This Answer Correct ? | 35 Yes | 2 No |
Cron: is a daemond process its run periodical.Mince you can
run it in every (sec,min,hour,day,date,Month).We can't
remove a cron job we commenting that only.
here 6 fild to schedule a cron job.
At: only run on particular time specifies by user who
schedule that time you can remove a at job.
Ex:-
$at 9:30
>a.txt
>b.txt
[ctl+d]
Thanks,
Jagadeeb@gmail.com
Is This Answer Correct ? | 15 Yes | 11 No |
Explain the steps that a shell follows while processing a command.
Explain command to show the space allocation of files?
distinguish between paging and swapping?
What is the difference between pipe and xargs?
Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.
Are you in or at the office?
How to use grep command to list find the records of a file containing 10 different strings?
Who command in unix operating system?
What is nr in awk command?
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?
How to get the operating system's information in unix?
what is difference between unix and linux?