Command Line

Discuss RoboTask here
Post Reply
dondada
Posts: 22
Joined: Fri May 20, 2005 11:30 am

Command Line

Post by dondada »

Can a Robotask task be run from a Command Line? If so what is the command required?
Oleg
Site Admin
Posts: 3202
Joined: Thu Jan 01, 1970 1:00 am
Contact:

Command Line

Post by Oleg »

Of course. There is RTaskRun.exe utility for this purpose.
Command line is RTaskRun.exe <TaskID>
TaskId must be in hex or decimal format. For example:
RTaskRun.exe $3C46E896
Where "3C46E896" is a task ID (in hex) and the name of task file.
Remember that task must be registered in RoboTask.
Also you can create a shortcut on desktop for any task. Use menu Task | Create Shortcut on Desktop.
anonymouse
Posts: 17
Joined: Sat Oct 22, 2005 12:35 pm
Location: United Kingdom

Command Line

Post by anonymouse »

And can the tray icon be hidden?
Oleg
Site Admin
Posts: 3202
Joined: Thu Jan 01, 1970 1:00 am
Contact:

Command Line

Post by Oleg »

anonymouse wrote: And can the tray icon be hidden?

Why do you want to hide tray icon? If icon is hidden how do you want to control RoboTask?
anonymouse
Posts: 17
Joined: Sat Oct 22, 2005 12:35 pm
Location: United Kingdom

Command Line

Post by anonymouse »

Where are the files that are created or which are the files that are used by 'Install as Service' and how does it differ from normal operation through robotask.exe?
Oleg
Site Admin
Posts: 3202
Joined: Thu Jan 01, 1970 1:00 am
Contact:

Command Line

Post by Oleg »

When you launch "Install service", no new files will be created.
anonymouse
Posts: 17
Joined: Sat Oct 22, 2005 12:35 pm
Location: United Kingdom

Command Line

Post by anonymouse »

When the install as service shortcut is selected from the start menu, what changes to the existing files, is the only advantage that it runs regardless of who logs in and is the tray icon hidden?
Oleg
Site Admin
Posts: 3202
Joined: Thu Jan 01, 1970 1:00 am
Contact:

Command Line

Post by Oleg »

When RoboTask works as service it can execute configured tasks even if no users are logged on. RoboTask service will be started together with Windows and you don't need to login to computer.
thomas
Posts: 1
Joined: Fri Jan 15, 2016 2:34 pm

Re: Command Line

Post by thomas »

is there a command line parameter to stop and disable a task?
Oleg
Site Admin
Posts: 3202
Joined: Thu Jan 01, 1970 1:00 am
Contact:

Re: Command Line

Post by Oleg »

is there a command line parameter to stop and disable a task?
No. You can only start some task.

But you can stop or disable another task in this task. See actions Disable task and Stop Task

To create batch file for a task select the task and use menu Task->Create Batch File
Oleg Yershov
Post Reply