a custom scheduled job does not work in master?

A

ansanto

Guest
I need to run a 'watchout' script every n-minutes on both the PVE-DRBD nodes, so I added one line in crontab (just issuing a crontab -e command):
0-59/3 * * * * root sh /my_path/my_script.sh
and did restart the cron daemon.

Well, it works but in the salve node only while the master node seems ignore the scheduled job. I successfully tried to run it manually in order to check permissions and path so I'm quite puzzled about the cause of that failure or what is my mistake.
Since these are my first experiences with PVE-DRBD I'm wondering if I'm missing something about master node behavior and its peculiarity.

Thanks for your answers.
 

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!