2009/8/31 bingo bob <rails-mailing-l...@andreas-s.net>:
>
>
> I've created a cron task via my webhost's (a joyent shared accelerator)
> cron control panel. The control panel has a "run now" button, when I hit
> this button the thing works, I get my nice backup file created in /db,
> all fine. Thing is when I leave the job to run over night, all it
> creates is an empty db backup file!
>
> Here's the the crontab line...
>
> 11 3 * * * cd /users/home/foo/domains/foo.com/web &&
> RAILS_ENV=production /usr/local/bin/rake db:mysql:backup #foo nightly
> backup
>

Could be an issue with not being logged in?  Permissions or path or something?

Colin

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to