Guest User

Untitled

a guest
Nov 19th, 2018
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  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
Add Comment
Please, Sign In to add comment