help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how bash run by crontab is different from login bash shell?


From: Lawrence Velázquez
Subject: Re: how bash run by crontab is different from login bash shell?
Date: Thu, 10 Sep 2020 19:20:37 -0400

> On Sep 9, 2020, at 9:05 PM, Peng Yu <pengyu.ut@gmail.com> wrote:
> 
> Hi,
> 
> I have the following line in crontab.
> 
> * * * * * LANG=en_US.UTF-8 /usr/local/bin/bash -c 'builtin enable -f
> /Users/xxx/Downloads/bash-5.0/examples/loadables/realpath realpath'
>> /tmp/crontab_stdout_realpath.log 2>/tmp/crontab_stderr_realpath.log

Am I missing something? Doesn't enabling a loadable and immediately
exiting do effectively nothing?

vq



reply via email to

[Prev in Thread] Current Thread [Next in Thread]