2 parents 17e9697 + 3747131 commit 39217f4Copy full SHA for 39217f4
1 file changed
lib/whenever/command_line.rb
@@ -78,6 +78,8 @@ def write_crontab(contents)
78
IO.popen(command.join(' '), 'r+') do |crontab|
79
crontab.write(contents)
80
crontab.close_write
81
+ stdout = crontab.read
82
+ puts stdout unless stdout == ''
83
end
84
85
success = $?.exitstatus.zero?
0 commit comments