How do I schedule a Ruby program to run?
Posted by: marusin
Posted on: 2005-11-12 21:09:00
Hello all,
I've searched the forums and haven't found any info on this... I have a Ruby program (not Rails ~ just a plain old .rb file). I can run this program by calling "ruby myprogram.rb" within SSH and it runs how it should. I want to set it up to run several times a day (it's scraping a website and generating an RSS feed for me).
How can I set this up to be on a schedule to run? Can I use cron? I'm under the impression that cron can only be used for Perl programs, etc? Any help would be great!
Thanks!