3 days ago my script that runs in crontab runs but does not create the snapshots. If I type the script manually it creates them. Does anyone have an idea of what could be happening?
Crontab:
snapshot_diario.sh
Syslog:
Crontab:
Code:
# Cria snapshots diarias
00 22 * * * sh /root/scripts/snapshot_diario.sh
snapshot_diario.sh
Code:
./cv4pve-autosnap --host=localhost --username=user --password=password --timestamp-format ddMMyyyy-hh_mm --vmid="all,-106" snap --label=daily- --keep=3
Syslog:
Code:
Sep 11 22:00:01 qv3wse9z72 CRON[1977440]: (root) CMD (sh /root/scripts/snapshot_diario.sh)
Sep 12 22:00:01 qv3wse9z72 CRON[2229083]: (root) CMD (sh /root/scripts/snapshot_diario.sh)
Sep 13 22:00:01 qv3wse9z72 CRON[2481805]: (root) CMD (sh /root/scripts/snapshot_diario.sh)
Sep 14 22:00:01 qv3wse9z72 CRON[2732712]: (root) CMD (sh /root/scripts/snapshot_diario.sh)
Sep 15 22:00:01 qv3wse9z72 CRON[2994201]: (root) CMD (sh /root/scripts/snapshot_diario.sh)
Sep 16 22:00:01 qv3wse9z72 CRON[3268230]: (root) CMD (sh /root/scripts/snapshot_diario.sh)
Sep 17 22:00:01 qv3wse9z72 CRON[3531110]: (root) CMD (sh /root/scripts/snapshot_diario.sh)