home bbs files messages ]

Just a sample of the Echomail archive

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

 Message 1412 
 Joacim Melin to Ingo Juergensmann 
 Re: Arexx noob needs help 
 09 Jan 18 07:57:09 
 
 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)

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

(c) 1994,  bbs@darkrealms.ca