Skip to content

Instantly share code, notes, and snippets.

@sherwinyu
Created September 22, 2015 06:22
Show Gist options
  • Save sherwinyu/fd534bcbc60aed1abdde to your computer and use it in GitHub Desktop.
Save sherwinyu/fd534bcbc60aed1abdde to your computer and use it in GitHub Desktop.
go to bed
00 22 * * 0-4 Say 'Prepare to go to bed!'
30 22 * * 0-4 /sbin/ifconfig en0 down; say 'Go to bed!'
35 22 * * 0-4 /sbin/ifconfig en0 down; say 'Go to bed!'
40 22 * * 0-4 /sbin/ifconfig en0 down; say 'Go to bed!'
45 22 * * 0-4 /sbin/ifconfig en0 down
50 22 * * 0-4 /sbin/ifconfig en0 down
55 22 * * 0-4 /sbin/ifconfig en0 down
*/4 23 * * 0-4 /sbin/ifconfig en0 down; say 'Go to bed'
*/3 0 * * 1-5 /sbin/ifconfig en0 down; say 'Go to bed'
*/2 1 * * 1-5 /sbin/ifconfig en0 down; say 'Go to bed'
*/1 2 * * 1-5 /sbin/ifconfig en0 down; say 'Go to bed'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment