Cron <root@myhost.lan> /root/cpu.sh sending email every time

kd34

Member
Feb 17, 2022
16
0
6
22
Hello Team!

I have fixed a script that sends notifications 3 times a day to my ntfy client. The script is located in /root/cpu.sh. And then i wanted to try proxmox email notifications to get it to email instead. Removed cronjobs from everywhere. Succesfully fixed the email with postfix. And i am receving the cron emails /root/cpu.sh every time even tho i dont have any cron jobs, my script is just there in root folder. How can i stop it?

I really have no cron jobs just no, not in crontab -e or /etc/crontab

Thx
 
Last edited:
I really have no cron jobs just no, not in crontab -e or /etc/crontab
That is not a complete list. Additionally there is /etc/cron.hourly/*, /etc/cron.d/* and some more for daily/weekly/yearly.

To add some more options there is systemctl list-timers and systemctl --user list-timers

Best regards
 
That is not a complete list. Additionally there is /etc/cron.hourly/*, /etc/cron.d/* and some more for daily/weekly/yearly.

To add some more options there is systemctl list-timers and systemctl --user list-timers

Best regards
Hello!

Sorry for late response, i was working :D
And thanks for the help reply. I dont know how? But i didnt receive any mails since yesterday. I think it works now.
 
That is not a complete list. Additionally there is /etc/cron.hourly/*, /etc/cron.d/* and some more for daily/weekly/yearly.

To add some more options there is systemctl list-timers and systemctl --user list-timers

Best regards
Hello again!

One more question. I got another problem with postfix. Before i fixed the smtp email so i had relayhost in /etc/postfix/main.cf to my mailrise server vm. And after i removed that to add smtp relayhost, i got these mails every day. Can i stop it somewhere?
This means that the mail could not been forwarded to pushover@mailrise.xyz

Otherwise the smtp relayhost works, i got mail about the updates and backups.
 

Attachments

  • kdnorr.png
    kdnorr.png
    93.8 KB · Views: 10
Sorry, I do not use Google and I have no idea why mailrise.xyz is not reachable. Following that support link does not help?

Best regards
Yes, thanks for the answer.

Do you know which services is related to postfix? I want to check all configs if there is pushover@mailrise.xyz is still exist somewhere
 
Well,I can not help you with that configuration.

Technically mailrise is reachable from "somewhere in Germany":
Code:
~$ host mailrise.xyz 
mailrise.xyz has address 104.21.93.212
mailrise.xyz has address 172.67.214.201
mailrise.xyz has IPv6 address 2606:4700:3030::6815:5dd4
mailrise.xyz has IPv6 address 2606:4700:3033::ac43:d6c9

~$ ping mailrise.xyz 
PING mailrise.xyz(2606:4700:3033::ac43:d6c9 (2606:4700:3033::ac43:d6c9)) 56 data bytes
64 bytes from 2606:4700:3033::ac43:d6c9 (2606:4700:3033::ac43:d6c9): icmp_seq=1 ttl=57 time=1.02 ms
64 bytes from 2606:4700:3033::ac43:d6c9 (2606:4700:3033::ac43:d6c9): icmp_seq=2 ttl=57 time=0.866 ms

Best regards
 
Well,I can not help you with that configuration.

Technically mailrise is reachable from "somewhere in Germany":
Code:
~$ host mailrise.xyz
mailrise.xyz has address 104.21.93.212
mailrise.xyz has address 172.67.214.201
mailrise.xyz has IPv6 address 2606:4700:3030::6815:5dd4
mailrise.xyz has IPv6 address 2606:4700:3033::ac43:d6c9

~$ ping mailrise.xyz
PING mailrise.xyz(2606:4700:3033::ac43:d6c9 (2606:4700:3033::ac43:d6c9)) 56 data bytes
64 bytes from 2606:4700:3033::ac43:d6c9 (2606:4700:3033::ac43:d6c9): icmp_seq=1 ttl=57 time=1.02 ms
64 bytes from 2606:4700:3033::ac43:d6c9 (2606:4700:3033::ac43:d6c9): icmp_seq=2 ttl=57 time=0.866 ms

Best regards
Yeah i mean any postfix related services in proxmox system? The only service i know is proxmox-mail-forward.service

Did you never use smtp relayhost in proxmox?

I have learned it last week, very cool actually.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!