All of a sudden my cron jobs don't work any more.When I typecrontab -eI am presented an empty file in the editor/tmp/crontab.3fMYGi/crontabAnd by empty I mean that not even this standard cron job info is there any more.Is there a way to recover my cron jobs?
Suddenly lost all cronjobs
debian;cron
As @Anthon said in comments, you most likely have lost your crontab entries. On the off chance you haven't, they would be located here in this directory: /var/spool/cron/ in a file named after your username.If they aren't there either then they're lost and you'll have to recreate them or get them from backups.You might also get lucky and find the remnant of the tmp file used to edit them when you run the command crontab -e. These files would be in /tmp/crontab.*.