Open main menu

CDOT Wiki β

Changes

Lab 5 Warnings / Debrief

24 bytes removed, 08:29, 12 November 2015
no edit summary
<pre style="font-size:14pt">
# Check every minute for logins by user “evil”
'''* * * * * who | grep '^evil''''
#
# Run a script called "ascript.bash" every odd hour (1,3 5...) during the week
'''0 1,3,5,7,9,11,13,15,17,19,21,23 * * 1-5 /home/bob/ascript.bash'''
# Run "ascript.bash" every half hour during the week
'''0 */2 * * 1-5 /home/bob/ascript'''
# Same... just doing it a different way
'''0 */2 * * mon,tue,wed,thu,fri /home/bob/ascript'''
</pre>
13,420
edits