Changes

Jump to: navigation, search

OPS235 Lab 5 - CentOS7

9 bytes removed, 10:16, 4 May 2015
no edit summary
<li value="5">Quickly view the tutorial about the <b>[http://v1.corenominal.org/howto-setup-a-crontab-file/ Using crontab]</b> file to understand the purpose of this
file and how to basically set up a schedule to run a shell script.</li>
<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 at first day of each month (6:00 am on the first day of every month)</span></code></b></li><li>Save the file 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 3 observations / questions in your lab log book.'''
13,420
edits

Navigation menu