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.
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.