Red_Hat
RH202 · Question #32
Install the Cron Schedule for jeff user to display "Hello" on daily 5:30.
1. Login as a root user 2. cat >schedule.txt 30 05 * /bin/echo "Hello" 3. crontab -u jeff 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 c
Process and Service Management
Question
Install the Cron Schedule for jeff user to display "Hello" on daily 5:30.
Explanation
- Login as a root user
- cat >schedule.txt 30 05 * * * /bin/echo "Hello"
- crontab -u jeff schedule.txt
- 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.
Topics
#cron job#crontab#job scheduling#task automation
Community Discussion
No community discussion yet for this question.