engines/adva_newsletter/vendor/gems/cronedit-0.3.0/lib/cronedit.rb
# Clear crontab completely and immediately. Warning: no commit needed (no rollback anymore)
Clear crontab completely and immediately. Warning: no commit needed (no rollback anymore)
Clear crontab completely and immediately . Warning : no commit needed ( no rollback anymore )
def clear!
            rollback
            io = getOutput
            begin
                io << ''
            ensure
                io.close if @opts[:close_output]
            end
        end
def clear! rollback io = getOutput begin io << '' ensure io . close if @opts [ :close_output ] end end
Clear crontab completely and immediately.
Clear crontab completely and immediately .
# we dont do it using crontab command  (-r , -d) because it differs on various platfoms (vixiecron vs. dilloncron)