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?
--quietflags and rerun withcron. What is the output?--quietit doesn't help a lot because it doesn't print anything valuable.dirvish-runallis a perl script nothing special! I am not sure where should i look next. The output is something like00:19:01 dirvish --vault test.local 00:19:01 done, nothing more nothing less.