Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- #### Change Directories
- cd /mnt/acs/srv/eas/galcit/current
- #### Redirect output to custom log file, so you know its working.
- #### The first '>' creates/over writes the file.
- /opt/ruby-enterprise-1.8.7-2009.10/bin/rake refresh_all_events &> /tmp/GalcitRakeLog.log
- #### Sometimes it helpful to add a date/time of completion...
- #### Then append with double '>>'
- /bin/echo "Rake Completed" >> /tmp/GalcitRakeLog.log
- /bin/date >> /tmp/GalcitRakeLog.log
Add Comment
Please, Sign In to add comment