Hope it wasn't a production server. Otherwise, it's hilarious.
From the manpage, the crontab has two forms:
crontab
crontab [-u user] file crontab [-u user] { -l | -r | -e }
The first form of this command is used to install a new crontab from some named file or standard input if the pseudo-filename `-' is given.
It's possible the command above got interpreted as the first form and a new crontab with just ; inside of it was installed.
;
Apart from guess above, I have no idea. But, it's interesting. Glad I am no longer around servers.
Thanks for the reply! Well thankfully we were working in our development server so everyone is safe!
I wasn't aware of the first form so it's something new for me that I need to look up. Thanks for the help!
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hope it wasn't a production server. Otherwise, it's hilarious.
From the manpage, the
crontab
has two forms:It's possible the command above got interpreted as the first form and a new crontab with just
;
inside of it was installed.Apart from guess above, I have no idea. But, it's interesting. Glad I am no longer around servers.
Thanks for the reply! Well thankfully we were working in our development server so everyone is safe!
I wasn't aware of the first form so it's something new for me that I need to look up. Thanks for the help!