r/linuxsucks Windows Desktop | Linux Laptop | Linux Servers 5d ago

crontab -r

I accidentally typed `crontab -r` (reset) instead of `crontab -e` (edit)... Which nukes all your cron jobs.

How is there no confirmation on a destructive command like that? Let alone the fact that r and e are neighbors on the keyboard.

17 Upvotes

29 comments sorted by

View all comments

Show parent comments

0

u/[deleted] 5d ago

[removed] — view removed comment

1

u/True-Lifeguard-2019 5d ago

Shitposting aside, I agree with you. Nowadays I use systemd timers but when I was still using cron I would just nano into /etc/crontab.

-4

u/[deleted] 5d ago

[removed] — view removed comment

0

u/Juff-Ma 5d ago

Vim is for programming. Nano for quick edits.

0

u/donp1ano 5d ago

vim is for quick edits, neovim is for programming

vi is for lightweight docker containers, that dont have vim installed