Page 1 of 1
Web services
Posted: Wed Jun 05, 2013 11:49 am
by battit64
it is possible to acces exemple at localhost:5500 for an user with access web page with paramètre to activate a task
thks
Re: Web services
Posted: Thu Jun 06, 2013 4:58 pm
by Oleg
Do you want script on ASP or PHP?
Maybe this is possible but there are some problems:
ASP works under IIS user account within separate session.
COM object is working within current session only where the caller script work.
Probably it's possible to call the task from RoboTask service.
But I'm sure that you have to tune your web server in order to reach this.
I will try to investigate this job.
Re: Web services
Posted: Thu Jun 06, 2013 5:27 pm
by Oleg
Also look at the
Send Command action and
Listener
This action and trigger designed for running tasks remotely from another computer
I hope this can assist you.
Re: Web services
Posted: Thu Jun 06, 2013 5:35 pm
by battit64
PHP for it's more fine.
it's possible to activate a task with vbscript under another machine? with parameters for exemple?
Re: Web services
Posted: Fri Jun 07, 2013 8:51 am
by Oleg
There is NetworkClient utility.
Download it here
It simulates
"Send Command" action
NetworkClient can be used as interactive utility and from command line. Description of command line is included this is not complex.
Next, you should prepare necessary tasks with
Listener trigger on your RoboTask
You can run these tasks by using command line from PHP script. See the example:
Code: Select all
<?php
exec('"D:\Test\NetWorkClient.exe" srv=localhost cmd="start" port=5255 silent=yes', $arr);
foreach ($arr as $s)
{
echo $s."<br/>";
}
?>
Of course you can use your own server, port, password, command, etc.