On 10/18/06, Benjamin Krause <[EMAIL PROTECTED]> wrote:
> Hey ..
> > I've added a smoke test script to Ferret. It is named smoke_test.rb
> > and it can be found in the base of the working directory.
> >
> Great! You will get a x86_64-linux result once a day :-)
>
> >   prompt> sudo vi /etc/crontab
> >   # then add the following line:
> >   17 *  * * * root    /usr/bin/ruby /path/to/smoke_test.rb true
> > [EMAIL PROTECTED]
> >
> I would suggest not doing this as root .. it will run fine as a standard
> user .. If someone hacks
> your Makefile, a lot of people might be in troube ;-)

Oh, good catch Ben. That will teach me for cut and pasting. For that
same reason, beware adding it to /etc/cron.hourly ro /etc/cron.daily
as they are probably run by root too.

Dave
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk

Reply via email to