Recent Adventures with Rake and Cron

I might be the last person to know these things, but if you wish to invoke a rake task within another rake task, here’s the syntax:

Rake::Task["thinking_sphinx:index"].invoke

And, if you happen to get funky “bad minute” errors when trying to setup said rake task via cron, make sure your cron command fits on one line while ediiting via crontab -e.

Choose your next adventure.

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]

Leave a Reply

ray ban wayfarer sizes ray ban repair parts
aldo coupon
Buy shoes online india
replica handbags