Changes

Jump to: navigation, search

OPS235 Lab 5 - CentOS7

46 bytes added, 07:33, 17 March 2016
no edit summary
*[http://www.cyberciti.biz/faq/howto-format-create-linux-filesystem/ mkfs]
*[http://man7.org/linux/man-pages/man5/fstab.5.html /etc/fstab]
*[http://v1code.corenominaltutsplus.orgcom/howtotutorials/scheduling-setuptasks-awith-crontabcron-file/ jobs--net-8800 Using crontab]
|}
<br><br>
<ol>
<li value="5">Quickly view the tutorial about the <b>[http://v1code.corenominaltutsplus.orgcom/howtotutorials/scheduling-setuptasks-awith-crontabcron-file/ jobs--net-8800 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 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>
13,420
edits

Navigation menu