I brought up a new Raspberry Pi 4 running Raspbian Buster and (after installing other software) installed Webmin on it. There was one cron job created by another program that I specifically wanted to delete because it insists on sending emails that I don't want sent. So I attemed to delete it in Webmin's Scheduled Cron Jobs but it did not go away. Figuring I did something wrong, I tried again, and again. It was only after I had done it four or five times that I realized it was deleting OTHER scheduled cron jobs above the one I was attempting to delete. Trying to edit a cron job to disable it had the same effect. So now I have to start completely over from scratch because I have no idea what cron jobs were deleted (and because it's a Raspberry Pi, I had disabled logging to reduce the wear on the SD card, though I don't know if logging would have helped). I've never had a problem like this with Webmin before, so I was quite shocked that this happened.
That seems like a serious bug! Is the list of cron jobs shown in Webmin stable? That is, does the order change when you refresh the page?
As far as I can tell the order does not change when you refresh the page.
Which button in the UI are you using to delete the cron job?
@VoIPuser Any additional info?
This bug is valid, I kept deleting 1 cron job and it kept deleting a different cron job. Thankfully I had a backup. I deleted from Scheduled Cron Jobs. It is not specific to raspberry pi for sure, Im using Ubuntu Linux 19.10.
As can be seen with the below screenshots, I atempted to delete the /opt/rclone/upload_cloud job, but it instead deleted my weekly job.
Before pressing delete button:
https://snipboard.io/fl5YmN.jpg
After pressing delete button:
https://snipboard.io/bYnZQ9.jpg
Last edit: Dulanic 2020-02-18
Do you know which config file on the system the correct and incorrect cron jobs were in? ie. /etc/crontab or a user's file under /var/spool/crontab ?
Mine was within /etc/crontab
Are both the correct and incorrect lines in the same file, just next to each other?
If so, can you post the full file here?
Looks like it's the row above. It deleted the weekely line vs the line below it which is the correct line.
https://paste.ubuntu.com/p/HvGZScG5PZ/
Ok I finally found the cause of this - the bug will be fixed in the next Webmin release.