Red_Hat
RH302 · Question #46
Install a cron schedule for user 'jeff' to display "Hello" daily at 5:30.
Login as a root user Create a file named schedule.txt with the content: 30 05 * /bin/echo "Hello" Then, install it for the jeff user: crontab -u jeff schedule.txt Finally, restart the cron service: service crond restart
Automation
Question
Install a cron schedule for user 'jeff' to display "Hello" daily at 5:30.
Explanation
Login as a root user Create a file named schedule.txt with the content: 30 05 * * * /bin/echo "Hello" Then, install it for the jeff user: crontab -u jeff schedule.txt Finally, restart the cron service: service crond restart
Topics
#cron scheduling#crontab#job scheduling#user cron
Community Discussion
No community discussion yet for this question.