Hello,

I'm running this script https://gist.github.com/4591053 on a freebsd =
(default) crontab server using RVM + cron configuration. I don't know =
for which reason
but the program gets executed multiple times. I just want to execute the =
program one time every day at 4 a.m. (local time).

Here's my freebsd user crontab:
---
[atma@comodino ~/Code/rankclient]$ crontab -l
# atma's crontab!

# Shell variables for crontab
SHELL=3D/usr/local/bin/bash
=
PATH=3D/home/atma/.rvm/gems/ruby-1.9.3-p194/bin:/home/atma/.rvm/gems/ruby-=
1.9.3-p194@global/bin:/home/atma/.rvm/rubies/ruby-1.9.3-p194/bin:/home/atm=
a/.rvm/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/l=
ocal/bin:/home/atma/bin:/home/atma/.rvm/bin
RUBYLIB=3D/home/atma/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/
GEM_HOME=3D/home/atma/.rvm/gems/ruby-1.9.3-p194
=
GEM_PATH=3D/home/atma/.rvm/gems/ruby-1.9.3-p194:/home/atma/.rvm/gems/ruby-=
1.9.3-p194@global

* 4 * * * /home/atma/Code/rankclient/rankclient.rb=20
----

When I'm running this script manually everything works fine. But when =
I'm running this script using crontab, well it gets execute 10+ times in =
a row.

Any idea why this happens?


Panagiotis (atmosx) Atmatzidis

email:	atma / convalesco.org
URL:	http://www.convalesco.org
GnuPG ID: 0xE736C6A0
gpg --keyserver x-hkp://pgp.mit.edu --recv-keys 0xE736C6A0
--
The wise man said: "Never argue with an idiot. They bring you down to =
their level and beat you with experience."