how to automate proxmox backup client command

Thanks @fabian for the quick reply. Yes, actually - Windows did touch that file. I wrote out the commands in notepad++ on Windows and copied the file over via sftp.

I trashed the Windows file, created a new one with nano, and it worked! I had to add "bash" before the path to the script in crontab or it wouldn't work, but so far, I'm a few tests deep and firing off backups like a mad-man!
Code:
21 * * * * bash /root/pbs.sh

I had no idea there was some sort of Windows germ following that file around. I just assumed text was text, but I guess it could smell the Windows stink on it and said no thanks. I had tried playing with permissions, making it executable, etc. on the pve host, but none of that worked. Thanks for jumping in and saving me more hours of troubleshooting.
 

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!