Cronjob error

jhmc93

Member
Feb 22, 2022
181
1
23
31
I’ve set up my email alerts when my cronjob goes to reboot my proxmox server but I on two days now I’ve had the following email: /bin/sh: 1: reboot: not found,
Can someone help with this?
Thanks
 
I’m also getting this in my email after a cronjob update and dist upgrade:
apt does not have a stable CLI interface. Use with caution in scripts
That's because apt simply prints that statement and it's probably true. Cron will email your when some text is printed. Maybe research the tool chronic? Or maybe use apt-get instead?
 

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!