Open main menu

CDOT Wiki β

Changes

OPS235 Lab 5 - CentOS7 - VMware

69 bytes removed, 13:37, 25 May 2016
no edit summary
= INVESTIGATION =Part 3: LOOKING AHEAD = ==Automating Routine Tasks (Scheduling The Running of Shell Script Scripts Via Crontab)==
{|width="40%" align="right" cellpadding="10"
|- valign="top"
<li>Issue the following command to setup a crontab entry for root:<br><b><code><span style=" pointer-events:none;cursor:default;color:#3366CC;font-size:1.2em;">crontab -e</span></code></b></li><li>Enter the following line in order to run at 6:00 on the first day of every month:<br><b><code><span style=" pointer-events:none;cursor:default;color:#3366CC;font-size:1.2em;">0 6 1 * * /root/monitor-disk-space.bash #Runs first day of each month (6:00 am)</span></code></b></li><li>'''Save''' the crontab entry.</li><li>Confirm that the entry was properly saved by issuing the following command:<br><b><code><span style=" pointer-events:none;cursor:default;color:#3366CC;font-size:1.2em;">crontab -l</span></code></b></li></ol>
'''Answer Investigation Part 3 observations / questions in your lab log book.'''
= LAB 5 SIGN-OFF (SHOW INSTRUCTOR) =
13,420
edits