Chapter 7 - Process Administration Flashcards

1
Q

Where is the configuration file for cron and what must you do after running it?

A

/etc/sysconfig/cron and run suseconfig

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What does the sixth field in the crontab file designate?

A

The command you want to run

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What does a * specify if it is in the time/date fields?

A

Any time/date

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How can a user create their own crontab file?

A

crontab -e

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Crontab files can exist for?

A

The system, and users

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What does the following command do? crontab -l

A

List the current cron jobs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What does the following command do? crontab –r

A

Deletes all cron jobs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

If neither an allow or deny cron file exists who will be able to define cron jobs?

A

Only root

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What file is used to specify system jobs?

A

/etc/crontab

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Identify two ways you can run an “at” job and which is the preferred method.

A

run at and enter your commands, or run at -f and specify a script file

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the process for deleting an “at” job?

A

atq to see the jobs, then atrm to delete the job

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

How do you specify the time you want an “at” job to run?

A

at HH:mm

How well did you know this?
1
Not at all
2
3
4
5
Perfectly