This shows you the differences between two versions of the page.
software:git:start [2020/08/20 01:27] thegarnet created |
software:git:start [2020/08/23 18:16] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== GIT Related Issues ====== | ||
- | |||
- | |||
- | ===== Backup script using GIT works fine except when run from scheduled tasks ===== | ||
- | Overall task: Trying to merge information from one repository into another, then periodically backup the latest combined information to another repository. | ||
- | |||
- | Problem: The script works great when run from a Remote Desktop login as administrator. But the script hangs when run from a Plesk scheduled task, it hangs at the first GIT pull statement. It then hangs at some other points to. | ||
- | |||
- | First problem: The batch file didnt run at all as a scheduled task. Putting the batch in Administrator/ | ||
- | |||
- | * Is it the chroot issue mentioned here? https:// | ||
- | * Or maybe this answer: https:// | ||
- | * Some progress creating c: | ||
- | |||
- | < | ||
- | |||
- | rem This will work from a plesk fired batchfile. But it requires a dummy repo to be created, and the clone command to run from there | ||
- | git init | ||
- | git config --global core.sshCommand "ssh -i c: | ||
- | |||
- | git clone https:// | ||
- | |||
- | </ | ||
- | |||
- | * SSH Fails from crontab but succeeds when executed from a command line - https:// | ||
- | * SSH agent and Crontab, how to get them to work together https:// | ||
- | |||
- | * Queries | ||
- | * [[https:// | ||
- | * | ||
- | * Articles about GIT specifically | ||
- | * Adding remotes to GIT - https:// | ||
- | * How to tell GIT which private key to use - [[https:// | ||
- | * ~/ | ||
- | |||