On 4/7/21, Marco Ippolito <[email protected]> wrote:
>> Where I want output, I protect it with:
>>
>>     [ -n "$PS1" ] && printf …
>
> Maybe consider:
>
>       [[ -t 1 ]] && printf ...

Until your script that was started via crontab silently fails.  I
*like* always having error messages enabled.

Lee

Reply via email to