summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-03-04 11:56:03 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-03-04 11:56:03 +0100
commit46e3a768b175a80ae54e6b97b8cf6c4146718134 (patch)
treeefdffa70714a4e2d0528c19a3df8c845a1a3fff3 /lib
parenta07b7482bb2f9d2867dafc909da8af90d5ee9143 (diff)
rake db:queue_a_new_backup (better name)
Diffstat (limited to 'lib')
-rw-r--r--lib/tasks/backup.rake4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/tasks/backup.rake b/lib/tasks/backup.rake
index 8f56015..f08bb39 100644
--- a/lib/tasks/backup.rake
+++ b/lib/tasks/backup.rake
@@ -4,8 +4,8 @@ namespace :backup do
# This would be the daily backup.
end
- desc "Do a backup. Now!"
- task :now => :environment do
+ desc "Do a backup."
+ task :queue_a_new_backup => :environment do
backup_job = BackupJob.create
echo "BackupJob ID: #{backup_job.id}"
end