Skip to content
petervojtek edited this page Apr 7, 2013 · 4 revisions

Ruby Gems

  • sudo gem install RubySunrise --no-ri --no-rdoc

Time/Date

  • time should be set automatically via NTP
  • timezone:
  • sudo rm /etc/localtime
  • sudo ln -s /usr/share/zoneinfo/Europe/Bratislava /etc/localtime

Crontab

*/30 * * * * ruby /home/pi/Repositories/stopa-monitor/src/run.rb