diff options
author | zhitomirskiyi <ilya@joindiaspora.com> | 2010-12-31 01:27:35 +0300 |
---|---|---|
committer | zhitomirskiyi <ilya@joindiaspora.com> | 2010-12-31 01:27:35 +0300 |
commit | 9f227b3b0a63c972070c7ff602b7f4c6a08ab16a (patch) | |
tree | ae0af1f399759aebdbc447471ecb09a44ef44c1a /chef | |
parent | 45967596289d018e2a2950d520c60b0e1b9d6bd0 (diff) |
manual logging in the backup, since Rails.logger is nil
Diffstat (limited to 'chef')
-rw-r--r-- | chef/cookbooks/common/files/default/backupcron.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chef/cookbooks/common/files/default/backupcron.txt b/chef/cookbooks/common/files/default/backupcron.txt index 999ee32e3..ff7d6760c 100644 --- a/chef/cookbooks/common/files/default/backupcron.txt +++ b/chef/cookbooks/common/files/default/backupcron.txt @@ -1,2 +1,2 @@ -42 * * * * cd /usr/local/app/diaspora && exec /usr/local/bin/ruby /usr/local/bin/bundle exec rake backup:mongo 2>> /usr/local/app/diaspora/log/rake_mongo.log -42 15 * * * cd /usr/local/app/diaspora && exec /usr/local/bin/ruby /usr/local/bin/bundle exec rake backup:photos 2>> /usr/local/app/diaspora/log/rake_photos.log +42 * * * * cd /usr/local/app/diaspora && exec /usr/local/bin/ruby /usr/local/bin/bundle exec rake --trace backup:mongo 2>> /usr/local/app/diaspora/log/rake_mongo.log +42 15 * * * cd /usr/local/app/diaspora && exec /usr/local/bin/ruby /usr/local/bin/bundle exec rake --trace backup:photos 2>> /usr/local/app/diaspora/log/rake_photos.log |