Re: [OT?] Executing Git from bash script invoked by cron
- From
Sverre Rabbelier <srabbelier@gmail.com>
- Date
- Jun 28, 2010, 21:05 UTC
- Message-ID
- <AANLkTimHw_UcpiJdiVaz8pyYH6jhHa_x2DS1vTNlreau@mail.gmail.com>
- In-Reply-To
- <4C290D88.80306@cedarsoft.com>
Heya,
On Mon, Jun 28, 2010 at 23:00, Johannes Schneider <mailings@cedarsoft.com> wrote:
> But the same script executed by cron, does not work. Git push does > simply nothing. No output, no push, nothing.
Very silly question, does the cron version have anything to push? IIRC 'git push' doesn't output anything if there's nothing to push? Try running 'git push --verbose' instead.
-- Cheers, Sverre Rabbelier