Solved, I had to use full path to file with cron... /sbin/bconsole
From: Jan Gazda [mailto:jan.ga...@sapienzaconsulting.com]
Sent: Monday, October 10, 2016 08:36
To: bacula-users@lists.sourceforge.net
Subject: [Bacula-users] bconsole crontab
Hello All,
I wanted to create a simple script to colle
Hi Jan,
do you get any error messages? What is inside your $INCRLOG file when
executing the commands you wrote manually? When I try your second script
everything is working fine:
TEST="/tmp/test.log"
./bconsole <| MediaId | VolumeName | VolStatus | Enabled | VolBytes
| VolFil
Hello All,
I wanted to create a simple script to collect information about volumes with
cron but whatever I do not files are being created if the script is executed by
cron
I tried various modifications but neither of them work.
if [[ $(date +%u) -lt 5 ]]; then
# if week day, l