[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: cron job to monitor global revision number

From: Raye Raskin <rayer_at_pobox.com>
Date: 2004-09-28 05:53:30 CEST

Boy, it's a pain replying to an attachment...

Are you mixing your shells on purpose. Mistake? For example:

> 1. Set up cron job with this file `crontab $FILENAME`:
> # use /bin/sh to run commands, no matter what /etc/passwd says
> SHELL=/bin/bash

and:

> 2. Put this script in the place mentioned above.
>
> #!/bin/bash
> O_FILE=/home/nesscg/websvn

and later:

> 3. Open up my email and see these messages from cron for EVERY
> execution, note the top is the output of the `env` command:
>
> MAILTO=nesscg
> SHELL=/bin/sh

Are you possibly losing your environment when you switch shells?

Also, who are you running the cron job as? Root? Yourself?

Raye.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Sep 28 05:54:08 2004

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.