Created
January 28, 2014 06:21
-
-
Save TGOlson/8663068 to your computer and use it in GitHub Desktop.
My first shell script -- isn't it cute...
This file contains 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
echo '********************************************' | |
date -u | |
echo ' Beginning Incremental Import' | |
echo ' Setting PATH, GEM and RUBYLIB variables' | |
export PATH=/home/ckoziak/webapps/rails/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/ckoziak/bin; | |
export GEM_HOME=/home/ckoziak/webapps/rails/gems; | |
export RUBYLIB=/home/ckoziak/webapps/rails/lib; | |
echo ' Changing Directory to /home/ckoziak/webapps/rails/fas/' | |
cd /home/ckoziak/webapps/rails/fas/; | |
echo ' Running rake epf:incremental' | |
rake epf:incremental; | |
echo ' Finished incremental import' | |
echo ' Check /home/ckoziak/webapps/rails/fas/log/EPFLogs/EPFLog.log for import data.' | |
date -u |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment