TIP: Click on subject to list as thread! ANSI
echo: amiga
to: Joacim Melin
from: Ingo Juergensmann
date: 2018-01-08 21:07:36
subject: Arexx noob needs help

Hello Joacim!

08 Jan 18 20:03, you wrote to all:

 JM> I'm trying to create a ARexx script that ever X number of minutes will
 JM> execute a shell script.  I'm a total noob to ARexx programming but
 JM> here are my efforts so far:

 JM> * testscript för loop */

I can't comment on the ARexx script, but when you want to execute a script
every x minutes, why don't you just use a cron for AmigaOS? I used to use
cybercron for that purpose.

 JM> s:hej.scr contains one line:
 JM> echo HELLO!
 JM> Now, I get no output from s:hej.scr. I tried to add
 JM> GetEnv("minoutput") to the ARexx script but that doesn't
work.  Also,
 JM> I can't kill the ARexx script once it's running, either by pressing
 JM> ctrl-c or trying to close the shell window.

Silly question: did you added the script bit to the file? protect +s s:hey.scr

Ingo


--- GoldED+/LNX 1.1.5--b20170303
* Origin: AmigaXess - back in FidoNet after 17 years (2:2452/413)
SEEN-BY: 154/10 203/0 221/0 1 229/426 240/1120 5832 8002 261/38 280/464 2020
SEEN-BY: 280/5003 5006 5268 292/624 854 310/31 313/41 423/120 633/0 267 280
SEEN-BY: 633/281 412 640/384 712/620 848 770/1 2320/100 2432/390 2452/250 413
@PATH: 2452/413 250 240/1120 280/5003 464 712/848 633/280 267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.