Cron support improved
Wednesday, January 14, 2009
The support for cron scripts has been improved. RailsCluster recommends to update all crontabs to use the new cluster_task wrapper.
The cluster_task wrapper ensures that cron scripts do not run twice and in parallel. This improves performance and avoids race conditions in your application.
The wrapper is to be placed before the actual cron script. Example:
PATH=/opt/ruby-enterprise/bin:/usr/local/bin:/usr/bin:/bin 0 * * * * /usr/local/bin/cluster_task rake cron:hourly
Please contact us if you require further support.
RailsCluster is the fastest and most reliable Ruby on Rails hosting platform in the Netherlands. Rack applications such as Merb are supported as well.
Please contact us for more information.

Search
Sitemap
Control Panel
Webmail