Need help setting up cron

Mumia W. paduille.4062.mumia.w+nospam at earthlink.net
Mon Jul 21 11:31:55 UTC 2008


Robert Dailey wrote:
> [...]
> I don't know if a signal was used to interrupt the program. I'm also 
> not seeing any error messages using the logging method I was using
> previously. I tried doing your 'script' command to log instead,
> however it's not showing me anything useful. It's showing the output
> from the "svnadmin dump" process going normally, but then it just
> stops. No errors, no warnings. It just magically stops.
> 
> Below is the new logging information I get when using the 'script'
> program to run my backup script. As you can see, it gets to revision
> 26 in the dump process and then it just decides not to continue...
> [...]

Does svnadmin have a "-v" (verbose) option? That may provide clues about 
what's going wrong. There may be something about the environment that 
prevents svnadmin from running to the finish, so put an 'env' in the 
script to get the environment variables displayed. Compare those 
variables to the variables you have when you're are able to successfully 
run svnadmin.

Have you considered using a user-crontab? If the root crontab doesn't 
work, a user crontab should be an option.





More information about the ubuntu-users mailing list