Skip to content

Instantly share code, notes, and snippets.

@hiromiso
Created October 26, 2012 09:40
Show Gist options
  • Save hiromiso/3957871 to your computer and use it in GitHub Desktop.
Save hiromiso/3957871 to your computer and use it in GitHub Desktop.
/etc/cron.hourly/akiba58
#!/bin/sh
/usr/local/bin/temper |/usr/bin/awk 'match($0,/,.*/){print substr($0,RSTART+1,RLENGTH)}' |/usr/bin/logger -t akiba58 -p local2.info >/dev/null 2>&1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment