I have installed dirvish for some backups. I have initialized one vault (host). And now I am using the following script to run it:
#!/bin/sh /sbin/dirvish-expire --quiet && /sbin/dirvish-runall --quiet rc=$? exit $rc
The problem is that I cannot find a way to troubleshoot it more. For some reason the second command
dirvish-runall --quiet exits with status 1 when it is run as a cron job. When it is in interactive mode it works fine without any issue.
Can you please help?