[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: "Command not found" when using `home-mcron-service`
From: |
Tanguy LE CARROUR |
Subject: |
Re: "Command not found" when using `home-mcron-service` |
Date: |
Tue, 16 Jan 2024 08:10:23 +0100 |
User-agent: |
alot/0.10 |
Hi Nils,
Quoting Nils Landt (2024-01-15 19:11:25)
>
> > Tanguy LE CARROUR <tanguy@bioneland.org> hat am 15.01.2024 13:30 CET
> > geschrieben:
> > > If I'm correct, setting the PATH environment variable in the mcron job
> > > should fix it.
> >
> > You mean inside the `#~(job …)`? Sorry, but… how would you do that? 😅
>
> Haven't tried it, but something like:
>
> #~(job '(next-minute (range 0 60 5)) (string-append #$bash " -c
> \"PATH=$HOME/.guix-home/profile/bin " #$notmuch "/bin/notmuch new\""))
Thanks. I'll give it a try. But based on Oleg's answer, I might go with
modifying all my config files to substitute absolute paths…
Regards,
--
Tanguy
- "Command not found" when using `home-mcron-service`, Tanguy LE CARROUR, 2024/01/15
- Re: "Command not found" when using `home-mcron-service`, Nils Landt, 2024/01/15
- Re: "Command not found" when using `home-mcron-service`, Tanguy LE CARROUR, 2024/01/15
- Re: "Command not found" when using `home-mcron-service`, Tanguy LE CARROUR, 2024/01/15
- Re: "Command not found" when using `home-mcron-service`, Oleg Pykhalov, 2024/01/15
- Re: "Command not found" when using `home-mcron-service`, Tanguy LE CARROUR, 2024/01/15
- Re: "Command not found" when using `home-mcron-service`, Oleg Pykhalov, 2024/01/15
- Re: "Command not found" when using `home-mcron-service`, Tanguy LE CARROUR, 2024/01/16
- Re: "Command not found" when using `home-mcron-service`, Nils Landt, 2024/01/15
- Re: "Command not found" when using `home-mcron-service`,
Tanguy LE CARROUR <=