Hi,
I installed Debian and Rails in my Raspberry Pi. I defined some crontab tasks to run automatically every hour. It begins great, but after a while, Raspberry Pi shuts down and I can't access it through ssh.
I have to switch it off and on again in order to restart the Raspberry Pi again.
Have you got any idea what can it be happening and why is my Raspberry Pi turning off?
My crontab:
$ crontab -l
SHELL=/bin/bash
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/home/pi/.rvm/gems/ruby-1.9.2-p320@global/bin/
# stats -> every hour
35 * * * * /bin/bash -l -c 'cd /home/pi/workspace/estado && RAILS_ENV=production /home/pi/.rvm/gems/ruby-1.9.2-p320@global/bin/bundle exec rake estado:stats'
------------------------
The output of my /var/log/cron.log file is:
Sep 10 11:35:01 raspberrypi /USR/SBIN/CRON[3506]: (pi) CMD (/bin/bash -l -c 'cd /home/pi/workspace/estado && RAILS_ENV=production /home/pi/.rvm/gems/ruby-1.9.2-p320@global/bin/bundle exec rake estado:stats')
Jan 1 01:00:21 raspberrypi /usr/sbin/cron[705]: (CRON) INFO (pidfile fd = 3)
Jan 1 01:00:21 raspberrypi /usr/sbin/cron[711]: (CRON) STARTUP (fork ok)
Jan 1 01:00:21 raspberrypi /usr/sbin/cron[711]: (CRON) INFO (Running @reboot jobs)
Jan 1 01:00:21 raspberrypi /usr/sbin/cron[709]: (CRON) INFO (pidfile fd = 3)
Jan 1 01:00:21 raspberrypi /usr/sbin/cron[710]: (CRON) STARTUP (fork ok)
Jan 1 01:00:21 raspberrypi /usr/sbin/cron[710]: (CRON) INFO (Running @reboot jobs)
It is weird. The system restarts the date.
Thanks in advance.
javier