-
-
Notifications
You must be signed in to change notification settings - Fork 934
cron and pull() #31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
is this even the right place to be asking about this? |
Hi, Cron will unset your environment to something usually not suitable to run commands like git. Besides, you can always directly specify which git executable git-python will use, by setting the GIT_PYTHON_GIT_EXECUTABLE environment variable, but please note this might only be available in the latest release of the 0.3 branch. Cheers, |
[SOLVED] |
Good to know - thanks for sharing your insights with us ! |
hi im writing a python script which i want to backup my git repositories every day...
so im trying to run it as a cron job under my user profile...
it runs fine from the command line...
although when cron tries to run it i get an error in the syslog: (CRON) error (grandchild failed with exit status 1)..
upon testing it seems is the pull() call where it is having an issue...
my only thought is that it maybe be a permissions/key issue as im trying to pull from a remote...
has anybody come across this issue?
am i doing something wrong?
any help would be great as it would be really cool to automate this...
thanks
The text was updated successfully, but these errors were encountered: