WebFaction
Community site: login faq

I tried to run a rake task from crontab in my Rails 3 app but nothing happened (no log, no rake...)

/1 0 * * cd /home/username/webapps/appname/appname && source ~/.bash_profile && rake robot:check_memory > /home/username/webapps/appname/appname/log/cron.log 2>&1

What is wrong ? I used something similar for my Rails 2.1 app.

asked 18 Feb '11, 02:54

muqaddar
178
accept rate: 0%

Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×50
×28

question asked: 18 Feb '11, 02:54

question was seen: 3,383 times

last updated: 18 Feb '11, 02:54

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2019 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM