I heard crontab would be a good choice but how do i write this line and where do i put it on the server
+2
A:
Here's a good tutorial on what crontab is and how to use it on Ubuntu. Your crontab line will look something like this:
00 00 * * * ruby path/to/your/script.rb
(00 00
indicates midnight--0 minutes and 0 seconds--and the *s mean every day of every month.)
Jordan
2010-10-21 03:47:45