logo       

Re: rsnapshot hangs when run from cron: msg#00012

sysutils.backup.rsnapshot.general

Subject: Re: rsnapshot hangs when run from cron

On Thu, Aug 03, 2006 at 03:41:31PM -0500, Steve Wegner wrote:

> When run from terminal :
>
> # rsnapshot hourly works great, finishes everything listed in the conf
> file and ends by rm -f the pid:
> ...
>
> But when it runs from a cron job, it does not finish. It just stops at
> an arbitrary point. No process is left running either. Its done and gone.

Please can you edit the rsnapshot.conf file to enable a logfile (if it's
not already), and set the 'loglevel' and 'verbose' options to 5. Then after
the next time it has run fron cron, show us what went into the log file.

And also as other people suggested, capture all the output (both STDERR
and STDOUT) from the command.

--
David Cantrell

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise