| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Re: Arexx noob needs help |
IJ> Hello Joacim!
IJ> 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 */
IJ> I can't comment on the ARexx script, but when you want to execute a
IJ> script every x minutes, why don't you just use a cron for AmigaOS? I
IJ> 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.
IJ> Silly question: did you added the script bit to the file? protect +s
IJ> s:hey.scr
IJ> Ingo
A fair question. :) CronTab does not work properly with the ACA1221ec
accelerator card. I have tried many a Crontab software for the Amiga and
they all launch just fine but never executes anything when it's supposed to
execute. So I thought I would solve it this way - have a ARexx program
execute something every 30 or 60 minutes or whatever and just loop itself.
"protect +s s:hey.scr" - I have no idea what that does. Need to
read up on it. When I say I'm a ARexx noob - I mean it. This is literally
my first ARexx program ever.
--- NiKom v2.3.1
* Origin: Delta City (deltacity.se, Vallentuna, Sweden) (2:201/120.0)SEEN-BY: 154/10 201/0 120 121 420 203/0 124 221/0 1 229/426 230/0 240/5832 SEEN-BY: 261/38 266/404 280/464 5003 5006 292/624 854 310/31 320/219 423/120 SEEN-BY: 633/0 267 280 281 412 640/384 712/620 848 770/1 2320/100 3634/24 @PATH: 201/120 0 203/0 280/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™.