exam questions

Exam EX200 All Questions

View all questions & answers for the EX200 exam

Exam EX200 topic 1 question 24 discussion

Actual exam question from RedHat's EX200
Question #: 24
Topic #: 1
[All EX200 Questions]

SIMULATION -
Configure a task: plan to run echo "file" command at 14:23 every day.

Show Suggested Answer Hide Answer
Suggested Answer: See explanation below.
(a) Created as administrator
# crontab -u natasha -e
23 14 * * * /bin/echo "file"
(b)Created as natasha
# su - natasha
$ crontab -e
23 14 * * * /bin/echo "file"

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Stachomir
Highly Voted 11 months, 2 weeks ago
If you want to see output in your console: ps -a (e.x. tt1) crontab -e 23 14 * * * echo "file" > /dev/tt1
upvoted 5 times
xXxM__JxXx
2 months, 2 weeks ago
i tried to tweak the time and check if it will create an output on my terminal. but it does not show after the time pass. does crontab follow local time, universal time or rtc time?
upvoted 1 times
...
...
mattd81
Highly Voted 1 month ago
If you need help remembering the crontab details run: cat /etc/crontab It will remind you what each column is for, minute, hour, etc
upvoted 5 times
...
14_aman
Most Recent 2 weeks ago
Configure a task: plan to run echo "file" command at 14:23 every day. question never say run echo " file" in natasha user. please confirm i have to take exam next month.
upvoted 3 times
...
Ares23
5 months, 1 week ago
cat <<EOF> /etc/cron.d/echo_file 23 14 * * * /usr/bin/echo 'file' EOF
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago