auto run script
[1/4] from: kevin::wise::mtifwb::com at: 12-Sep-2003 15:13
Is it possible to pass a switch or parameters to the rebol.exe and execute
an .r file using a task scheduler in windows xp?
Kevin
[2/4] from: doug:vos:eds at: 12-Sep-2003 16:31
Yes, we do it all the time.
Check this on your Win-XP system:
1. Start rebol console window - starts up rebol
2. type >> HELP - shows you all the other cool things like
USAGE
3. type >> USAGE - shows you command line switches
4. read all the USAGE switches
5. Open windows task scheduler and
put in something like:
REBOL --script d:\mypath\myscript.r
REBOL --script /d/mypath/myscript.r
or maybe
c:\rebol-core\REBOL.exe --script /d/mypath/myscript.r
6. Fiddle with the paths or invoke a batch file that runs rebol script if
paths are messed up.
[3/4] from: greggirwin:mindspring at: 12-Sep-2003 14:52
Hi Kevin,
KW> Is it possible to pass a switch or parameters to the rebol.exe and execute
KW> an .r file using a task scheduler in windows xp?
Yes. Type USAGE in the console to see all the switches.
-- Gregg
[4/4] from: tomc:darkwing:uoregon at: 12-Sep-2003 14:39
to run remote scripts I use
path/to/rebol -sq --do "do http://url.to/script.r"
I am sure you could --do "do %local/script.r" as well
On Fri, 12 Sep 2003, Kevin Wise wrote: