On Sun, 09 Oct 2011 08:31:16 -0500 Chris wrote: > I've been running the above command as a cronjob nightly for years now > suddenly in the past few days I've been getting this as the output of > the cronjob: > > bayes: cannot open bayes databases /home/chris/.spamassassin/bayes_* > R/W: lock failed: Interrupted system call > ERROR: Bayes backup returned an error, please re-run with -D for more > information > > The command line I'm using is: > > cd /home/chris/.spamassassin > /usr/local/bin/sa-learn --backup > /home/chris/SABackup/backup.txt > > Running with -D shows nothing and running from the command line works > fine. What could be causing the error output? >
Have you tried changing the crontab entry to: sa-learn -D --backup > /home/chris/SABackup/backup.txt 2>/home/chris/SABackup/debug