For a couple of days now, I'm having shutdown problem in my Ubuntu 20.10 system. Whenever I hit the power Off systemd informs in a moment, Waiting for process: crond. After doing some research and reading several manual pages about cron, crontab, anacron etc. I've found the root cause of the problem i.e /etc/cron/collect:-
*/10 * * * * root /var/tmp/crond
invoking journalctl confirms this which had multiple occurrence of (root) CMD (/var/tmp/crond). I've searched a lot on the internet to know if crond was some crucial part of the system and what I understood was that it wasn't crucial. but I wanted to be sure, so I searched everything in system to find a file, which is /run/crond.pid which have pid of cron in it, not of the process crond or specifically of the file /var/tmp/crond and To be more certain I've installed ubuntu on gnome-disks and as expected everything I discovered was that there was no collect job and there is no crond file in /var/tmp directory and after all why would anyone sane place a crucial system file in a directory which indicates that it is temporary. But yeah I really don't want to mess up my system and so I'm here to hear that it is safe to delete /etc/cron.d/collect and /var/tmp/crond. So what do you say?
in response to a comment: /var/tmp/crond is a binary executable