Configure a cron Task.
User natasha must configure a cron job, local time 14:23 runs and executes: */bin/echo hiya every day.
Suggested Answer: A
Get Premium EX200 Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
39 comments · newest first
JE
Jeannetta
11 months ago
Is it really necessary to enable and restart crond every time?
GA
Gaston
12 months ago
I thought you needed to use "crontab -e" instead of "crontab --e"?
LE
Leonora
12 months ago
Totally agree, that’s a common mistake!
DO
Domonique
1 year ago
Wait, did you forget the space between 14 and /bin?
JA
Jarod
1 year ago
Looks like a solid setup for the cron job!
LA
Lamar
1 year ago
I believe the `crontab -e` command is correct for editing, but I’m not confident about the exact format for the time specification.
ER
Erick
1 year ago
I’m a bit confused about the `systemctl` commands; I thought we only needed to enable the cron service if it wasn't running already.
GE
Genevive
1 year ago
I remember practicing a similar question, and I think the command should start with an asterisk for the minute field.
JE
Jesusita
1 year ago
I think the cron job should be set up with the correct syntax, but I'm not sure if I need a space between the time and the command.
KE
Kerrie
1 year ago
Alright, I think I've got it. Let me just double-check the format before I submit my answer.
AL
Alex
1 year ago
I've got this! The key is to use the crontab -e command to edit the crontab for the user natasha, and then add the line with the schedule and command.
WH
Whitney
1 year ago
Hmm, I'm a bit confused about the syntax for the cron job. Do I need to include the full path to the echo command?
GA
Gayla
1 year ago
I'm not too familiar with cron jobs, but I think I can figure this out. Let me try to break it down step-by-step.
ER
Eric
1 year ago
Okay, this looks straightforward. I just need to edit the crontab for the user natasha and add the command to run at 14:23 every day.
LA
Layla
1 year ago
Okay, the data shows the number of scratches on a product. That sounds like a discrete count variable, so I'm thinking either p, np, or c chart could work here.
CA
Carmen
1 year ago
Hmm, I'm not sure about this one. I'll need to think carefully about the different version statuses and which ones would allow for batch validations.
LA
Laurel
2 years ago
Seriously, who comes up with these exam questions? Can we just skip to the part where I get my certification already?
NA
Nancey
1 year ago
Don't worry, you'll get through it and get your certification soon.
EL
Elliott
1 year ago
Just follow the steps for configuring the cron job.
YE
Yen
1 year ago
I know, these questions can be so specific.
RA
Raymon
1 year ago
Don't worry, you'll get that certification soon enough.
NI
Nicolette
1 year ago
Just follow the steps provided and you'll be fine.
VE
Venita
2 years ago
I know, these questions can be so specific sometimes.
WI
Willard
2 years ago
Ah, I see the issue. The crontab command should be 'crontab -e -u natasha', not '--e'.
KA
Kathryn
2 years ago
Haha, 'hiya' every day? Might as well make it a 'good morning' or something more useful.
RO
Rolf
1 year ago
User 4: True, 'good morning' would be a nice change.
ME
Melina
1 year ago
User 3: It's easy to change the message in the cron job.
TO
Tom
1 year ago
User 2: Maybe Natasha just wants a friendly greeting every day.
MA
Marguerita
2 years ago
User2: Yeah, it's a simple way to start the day with a friendly message.
EM
Emmanuel
2 years ago
User1: Maybe Natasha just really likes saying 'hiya' every day.
AR
Arminda
2 years ago
User 1: Yeah, 'hiya' seems a bit random.
SH
Shanda
2 years ago
The command crontab -l -u natasha is used to view the cron job for user natasha.
MI
Miles
2 years ago
I agree, it helps in scheduling repetitive tasks efficiently.
NI
Nickole
2 years ago
Wait, do I need to run the crontab command or the systemctl commands? I'm a bit confused here.
LA
Lavera
2 years ago
Don't forget to run both commands. Edit the cron job with crontab for natasha and then enable and restart the crond service with systemctl.
AB
Abraham
2 years ago
Yes, you should run both commands. Use crontab to edit the cron job for natasha and then enable and restart the crond service using systemctl.
KA
Kallie
2 years ago
Make sure to run crontab to edit the cron job for natasha. Then, enable and restart the crond service using systemctl.
VE
Velda
2 years ago
You need to run both commands. First, use crontab to edit the cron job for natasha. Then, enable and restart the crond service using systemctl.
LU
Lucia
2 years ago
I think configuring a cron task is important for automation.