Created
July 13, 2014 12:07
-
-
Save hagino3000/6263e01618b7a5c8e28c to your computer and use it in GitHub Desktop.
荒川智則個展運用
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/opt/local/bin/zsh | |
IMG_FILENAME=`date +'%Y-%m-%d %H:%M'`.png | |
/usr/sbin/screencapture -x ~/tmp/capture/$IMG_FILENAME |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/opt/local/bin/zsh | |
cd ~/tmp/arakawakoten | |
LOGFILE=./application.log | |
while true | |
do | |
CURTIME=`date +'%Y-%m-%d %H:%M:%S'` | |
echo $CURTIME Start boot application | |
~/dev/lib/openFrameworks/apps/myApps/arakawaVision/bin/ArakawaVision.app/Contents/MacOS/ArakawaVision | |
CURTIME=`date +'%Y-%m-%d %H:%M:%S'` | |
echo $CURTIME Quit application | |
sleep 3 | |
killall Problem\ Reporter | |
done >> $LOGFILE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment