[nos-bbs] log triggers & shell scripts

Andrew k1ymi at k1ymi.com
Sun Mar 9 15:08:24 EDT 2025


Hi Jay,
	Yes there is a shabang.
Here's the script I'm trying to run. Works fine from command line... 
just not from a log trigger or shelling from JNOS.
<https://github.com/gm1ymi/JNOS_scripts/blob/main/last10mins.sh>

Andrew - K1YMI

On Sun, Mar 9 2025 at 02:58:28 PM -04:00:00, Jay <jjn at nuge.com> wrote:
> Greets!
> 
>    Is there a shabang statement at the very beginning of the shell 
> script defining what Shell the script should be run as?
> 
>       --- Jay WB8TKL
> 
> 
> On Sun, 9 Mar 2025, Andrew wrote:
> 
>> Based on the information here 
>> <http://lists.tapr.org/pipermail/nos-bbs_lists.tapr.org/2020-April/005535.html>
>> 
>> I am trying to fire off a shell script on a log trigger event, but 
>> the script does not seem to execute.
>> I believe permissions are correct and it's executable. It also runs 
>> fine when ran manually from command line under the same user
>> as JNOS.
>> Even if I try and run a 'shell ./shell_script.sh from the JNOS admin 
>> console it does not seem to execute.
>> Is there a specific directory shell scripts should be in?
>> 
>> Andrew - K1YMI
>> 
> _______________________________________________
> nos-bbs mailing list
> nos-bbs at lists.tapr.org <mailto:nos-bbs at lists.tapr.org>
> <http://lists.tapr.org/mailman/listinfo/nos-bbs_lists.tapr.org>
> _______________________________________________
> nos-bbs mailing list
> nos-bbs at lists.tapr.org <mailto:nos-bbs at lists.tapr.org>
> <http://lists.tapr.org/mailman/listinfo/nos-bbs_lists.tapr.org>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.tapr.org/pipermail/nos-bbs_lists.tapr.org/attachments/20250309/11368f18/attachment.htm>


More information about the nos-bbs mailing list