This question already has an answer here:
I made a very serious mistake. I was editing the
crontab file of my remote server, I was as the root user and it turns out that I wrote
crontab -r instead of
crontab -e and without previous notice it was simply deleted.
I was looking for information and it turns out that files deleted with the
crontab -r command are not stored somewhere like the recycle bin or something similar. I am very worried because there are scheduled backups and all the scripts that my hosting placed. I already communicate with them and I must wait for a response from a specialized person in a period of 24 to 48 hours, but I am very concerned. Will it be possible to recover that file?