orgwatch.sh 401 B

12345678910111213
  1. #! /bin/bash
  2. # link new .org files to ~/orgfiles and do git commint
  3. #
  4. # This should be run out of cron periodically
  5. #
  6. # Logs to /dev/tty and $LOGFILE
  7. LOGFILE=/home/gmj/var/log/orgwatch.log
  8. echo "--- Orgwatch `date` ---" |& tee /dev/tty >> ${LOGFILE}
  9. /home/gmj/bin/orglinks.sh |& tee /dev/tty >> ${LOGFILE}
  10. /home/gmj/bin/autocommit.sh |& tee /dev/tty >> ${LOGFILE}
  11. echo |& tee /dev/tty >> ${LOGFILE}