Skip to content

Instantly share code, notes, and snippets.

@hagino3000
Created July 13, 2014 12:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hagino3000/6263e01618b7a5c8e28c to your computer and use it in GitHub Desktop.
Save hagino3000/6263e01618b7a5c8e28c to your computer and use it in GitHub Desktop.
荒川智則個展運用
#!/opt/local/bin/zsh
IMG_FILENAME=`date +'%Y-%m-%d %H:%M'`.png
/usr/sbin/screencapture -x ~/tmp/capture/$IMG_FILENAME
#!/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