daily pastebin goal
49%
SHARE
TWEET

Untitled

a guest Nov 19th, 2018 70 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/bash
  2.  
  3. #### Change Directories
  4. cd /mnt/acs/srv/eas/galcit/current
  5.  
  6. #### Redirect output to custom log file, so you know its working.
  7. #### The first '>' creates/over writes the file.
  8. /opt/ruby-enterprise-1.8.7-2009.10/bin/rake refresh_all_events &> /tmp/GalcitRakeLog.log
  9.  
  10. #### Sometimes it helpful to add a date/time of completion...
  11. #### Then append with double '>>'
  12. /bin/echo "Rake Completed" >> /tmp/GalcitRakeLog.log
  13. /bin/date >> /tmp/GalcitRakeLog.log
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top