From 355252616286351aa6e8ccc50af35b1f88d44aa8 Mon Sep 17 00:00:00 2001 From: Sascha Daniels Date: Fri, 25 Oct 2013 13:26:30 +0200 Subject: Fixed shell vs. ruby ;-) --- lib/tasks/backup.rake | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/tasks/backup.rake') diff --git a/lib/tasks/backup.rake b/lib/tasks/backup.rake index 0dbadad..c26bc62 100644 --- a/lib/tasks/backup.rake +++ b/lib/tasks/backup.rake @@ -7,13 +7,13 @@ namespace :backup do desc "Do a backup." task :queue_a_new_backup => :environment do backup_job = BackupJob.create - echo "BackupJob ID: #{backup_job.id}" + puts "BackupJob ID: #{backup_job.id}" end desc "Do a backup. Now!" task :force_now => :environment do backup_job = BackupJob.create(:state => 'force now') - echo "BackupJob ID: #{backup_job.id}" + puts "BackupJob ID: #{backup_job.id}" end desc "Restore the system" @@ -83,4 +83,4 @@ namespace :backup do end end -end \ No newline at end of file +end -- cgit v1.2.3