[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Patchy up and running now
From: |
David Kastrup |
Subject: |
Re: Patchy up and running now |
Date: |
Mon, 05 Mar 2012 11:32:08 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) |
James <address@hidden> writes:
> Hello,
>
> On 5 March 2012 09:41, David Kastrup <address@hidden> wrote:
>> James <address@hidden> writes:
>
>>>
>>> I cant seem to get cron jobs to run on my LilyDev - I've done all the
>>> cron.allow etc. I was wondering (if anyone knows immediately) if
>>> stating the command in cron requires anything special if using two
>>> concatenated commands.
>>>
>>> I.e. I run cd /home/james/lilypond-git && python
>>> /home/james/patchy/lilypond-patchy-staging.py which works at the CLI
>>> but not when I enter that literally in cron. I tried surrounding it in
>>> " ' " but that didn't seem to make any difference.
>>
>> What is your complete cron line? You are aware that the PATH variable
>> is set to a quite basic path?
>
> It was
>
> 15 * * * * cd /home/james/lilypond-git && python
> /home/james/patchy/lilypond-patchy-staging.py
Hopefully in one line.
Where does it get the LILYPOND_GIT variable? Is it set elsewhere in the
cronfile? If not, you need to write something like
LILYPOND_GIT=/home/james/lilypond-git python ...
instead of just python ...
--
David Kastrup
- Re: Patchy up and running now, (continued)
- Re: Patchy up and running now, Graham Percival, 2012/03/04
- Re: Patchy up and running now, James, 2012/03/04
- Re: Patchy up and running now, James, 2012/03/05
- Re: Patchy up and running now, Francisco Vila, 2012/03/05
- Re: Patchy up and running now, James, 2012/03/05
- Re: Patchy up and running now, Graham Percival, 2012/03/05