Re: "Command not found" when using `home-mcron-service`

2024-01-15 Thread Tanguy LE CARROUR
Hi Oleg, Quoting Oleg Pykhalov (2024-01-15 18:13:13) > Tanguy LE CARROUR writes: > > `mcron` can then find `notmuch`, but `notmuch` has some hooks that depend > > on other commands; `mbsync` and `afew` in my case. For this, I cannot really > > provide the full path? 🤔 … actually, I could, but th

Re: "Command not found" when using `home-mcron-service`

2024-01-15 Thread Tanguy LE CARROUR
Hi Nils, Quoting Nils Landt (2024-01-15 19:11:25) > > > Tanguy LE CARROUR 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?

Re: "Command not found" when using `home-mcron-service`

2024-01-15 Thread Nils Landt
> Tanguy LE CARROUR 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 (r

Re: "Command not found" when using `home-mcron-service`

2024-01-15 Thread Oleg Pykhalov
Tanguy LE CARROUR writes: > Quoting Oleg Pykhalov (2024-01-15 16:25:27) >> The Home service matches Guix System in this case, so currently >> specification of a full path to a binary is required. >> >> It's possible to do in several ways: >> >> 1) Use full path to the binary with ungexp, e.g. >

Re: "Command not found" when using `home-mcron-service`

2024-01-15 Thread Tanguy LE CARROUR
Hi Oleg, Quoting Oleg Pykhalov (2024-01-15 16:25:27) > The Home service matches Guix System in this case, so currently > specification of a full path to a binary is required. > > It's possible to do in several ways: > > 1) Use full path to the binary with ungexp, e.g. > > preferred and cleaner:

Re: "Command not found" when using `home-mcron-service`

2024-01-15 Thread Oleg Pykhalov
Tanguy LE CARROUR writes: > 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? 😅 > And this means that I would have to do it for every single job? 🤔 > Sounds suboptimal to me. > Quoting

Re: "Command not found" when using `home-mcron-service`

2024-01-15 Thread Tanguy LE CARROUR
Quoting Tanguy LE CARROUR (2024-01-15 13:30:35) > Quoting Nils Landt (2024-01-15 13:03:06) > > > Tanguy LE CARROUR hat am 15.01.2024 10:38 CET > > > geschrieben: > > > […] > > > `mbsync` is in my profile, but Mcron cannot find it. > > > Do I have to declare all the required packages… somehow?! 🤔

Re: "Command not found" when using `home-mcron-service`

2024-01-15 Thread Tanguy LE CARROUR
Hi Nils, Quoting Nils Landt (2024-01-15 13:03:06) > > Tanguy LE CARROUR hat am 15.01.2024 10:38 CET > > geschrieben: > > > > ```scheme > > (gnu packages dav) ; vdirsyncer > > (gnu packages mail) ; notmuch > > ; […] > > (service home-mcron-service-type > > (home-mcron-configuration > >

Re: "Command not found" when using `home-mcron-service`

2024-01-15 Thread Nils Landt
> Tanguy LE CARROUR hat am 15.01.2024 10:38 CET > geschrieben: > > ```scheme > (gnu packages dav) ; vdirsyncer > (gnu packages mail) ; notmuch > ; […] > (service home-mcron-service-type > (home-mcron-configuration > (jobs (list > #~(job '(next-minute (range 0 6

"Command not found" when using `home-mcron-service`

2024-01-15 Thread Tanguy LE CARROUR
Dear Guix, I had stop using `home-mcron-service` some times ago, for I had a problem with my home shepherd. Now that this problem seems to be fixed 🤞, I've tried to re-enable `home-mcron-service` and, while it runs, it cannot find the commands to execute!? I used to have this config: ```scheme (