home bbs files messages ]

Just a sample of the Echomail archive

<< oldest | < older | list | newer > | newest >> ]

 Message 1409 
 Joacim Melin to All 
 Arexx noob needs help 
 08 Jan 18 20:03:31 
 
Hi All,

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

* testscript för loop */
do forever
if ~show('L','rexxsupport.library') then
call addlib('rexxsupport.library',0,-30)
'execute s:hej.scr >Env:minoutput'
call delay(250)
end

s:hej.scr contains one line: 

echo HELLO!

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

Can anyone explain what I'm doing wrong here? 

Thanks,

Joacim


--- NiKom v2.3.1
 * Origin: Delta City (deltacity.se, Vallentuna, Sweden) (2:201/120.0)

<< oldest | < older | list | newer > | newest >> ]

(c) 1994,  bbs@darkrealms.ca