Summer Special Sale Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: vce65

Install the Cron Schedule for david user to display “Hello” on daily 5:30.

Install the Cron Schedule for david user to display “Hello” on daily 5:30.

Answer and Explanation:

    Login as a root user

    cat >schedule.txt

30 05 * * * /bin/echo “Hello”

3. crontab –u david schedule.txt

4. service crond restart

The cron system is essentially a smart alarm clock. When the alarm sounds, Linux runs the commands of your choice automatically. You can set the alarm clock to run at all sorts of regular time intervals. Alternatively, the at system allows you to run the command of your choice once, at a specified time in the future.

Red Hat configured the cron daemon, crond. By default, it checks a series of directories for jobs to run, every minute of every hour of every day. The crond checks the /var/spool/cron directory for jobs by user. It also checks for scheduled jobs for the computer under /etc/crontab and in the /etc/cron.d directory.

Here is the format of a line in crontab. Each of these columns is explained in more detail:

#minute, hour, day of month, month, day of week, command

*        *     *             *      *            command

Entries in a crontab Command Line

Field

Value

Minute

0-59

Hour

Based on a 24-hour clock; for example, 23 = 11 p.m.

Day of month

1-31

Month

1-12, or jan, feb, mar, etc.

Day of week

0-7; where 0 and 7 are both Sunday; or sun, mon, tue, etc.

Command

The command you want to run

RedHat RH202 Summary

  • Vendor: RedHat
  • Product: RH202
  • Update on: Jul 25, 2025
  • Questions: 140
Price: $52.5  $149.99
Buy Now RH202 PDF + Testing Engine Pack

Payments We Accept

Your purchase with ExamsVCE is safe and fast. Your products will be available for immediate download after your payment has been received.
The ExamsVCE website is protected by 256-bit SSL from McAfee, the leader in online security.

examsvce payment method