what is the difference between "cron" command and "at" command?

Answers were Sorted based on User's Feedback



what is the difference between "cron" command and "at" command?..

Answer / swapna

cron command is used to schedule the task daily at the same
time repeatedly.

"at" command is used to schedule the task only once i.e to
run only one time.

Is This Answer Correct ?    118 Yes 6 No

what is the difference between "cron" command and "at" command?..

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

what is the difference between "cron" command and "at" command?..

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

what is the difference between "cron" command and "at" command?..

Answer / jagadeeb choudhury

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

what is the difference between "cron" command and "at" command?..

Answer / test

good answer

Is This Answer Correct ?    6 Yes 12 No

Post New Answer

More Unix Commands Interview Questions

Which command is used to find whether the system is 32 bit or 64 bit?

0 Answers  


Is grep faster than awk?

0 Answers  


Can you write a command to erase all files in the current directory including all its sub-directories?

1 Answers  


Give a regular expression that finds two things, try to come up with regular expressions that find each individually using "egrep" command?

5 Answers  


Assume that a file’s permissions give you read and write access. What operations can you perform on the file if it is in a directory which has “r”(read) only process? What operations can you perform on the file if it is in a directory which has “x”(execute) only access?

1 Answers  






how to sort the content of the file based on numeric values

0 Answers   Epsilon,


What command is used to switching between users in unix?

0 Answers  


what is difference between unix and linux?

6 Answers   IBM, Shell, Wipro,


How do you find path of a directory? Give its syntax.

7 Answers  


What is rmdir command?

0 Answers  


How many bits use for MAC address?

7 Answers   Google,


Which command is used to delete all files in the current directory and all its sub-directories?

0 Answers  


Categories