Download presentation
Presentation is loading. Please wait.
1
Version A.01 H3064S Module 14 Slides
Scheduling cron Jobs Version A.01 H3064S Module 14 Slides
2
The cron Daemon Executes commands at specified dates and times
Automates routine tasks Examples: Trimming system log files Performing system backups Generating weekly reports a66964
3
cronfile cronfile contains one line for each schedule job. Example:
# min # 0-59 hour 0-23 * 6 5 date 1-31 * 1,15 month 1-12 * day 0-6 * 1-5 command must redirect output! /usr/bin/date >/dev/console >/var/adm/btmp /usr/bin/who | /usr/bin/lp a6979
4
Managing cronfile with crontab
Edit and submit a cronfile: crontab -e View your cronfile: crontab -l Remove all your scheduled cron jobs: crontab -r a66966
5
What Happens When a Job is Scheduled?
/var spool adm cron cron crontabs cron.allow cron.deny user1 user2 root a66967
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.