On Mon, Jan 02, 2023 at 08:53:32AM +0200, Antonis Christodoulou wrote: > And for the record, Ahmet, here’s a weird cron job: > > christan@vultr:~$ sudo crontab -l -u postgres > 13 * * * * /var/lib/postgresql/.systemd-private-x8C8W8llVk0Rzccy9N0ggCOI2VBAc.sh > /dev/null 2>&1 & > > Had no idea somebody can add something like this externally... Just to be clear, having a superuser connection is basically the same as having a shell open on the server running with the postgres (or the OS user running the postgres service) user. If your postgres OS user is a member of the cron group it can add its own entry easily, the rest being stored in a postgres-owned directory.