You can schedule certain events instead of presets. These events are called by special commands, starting with "/". The list of such events will be extended in the further versions.
/exit - this command forces OCB to halt.
/safeexit - OCB will exit only if there were no errors since the program
was started.
/trunclog - truncate the log file.
/reboot - reboot the computer.
/shutdown - shutdown the computer.
/logoff - log off from the system.
/hibernate - enter hibernate mode.
/suspend - enter suspend mode.
/execsync() - execute a program in sync mode.
/execasync() - execute a program in async mode.
Other commands are described in other sections.
The last two commands allow you to schedule external program
execution as well as any OCB preset. Example:
/execsync(c:\program files\myprog\myprog.exe)
If a program needs parameters, add them after the "|"
symbol:
/execsync(c:\program files\parser\parser.exe|/silent /fast "c:\my documents\parsedata\data.txt")
Don't forget that when you use async mode, OCB waits until the application finishes its work and during this time other presets cannot be called. If you use sync mode, OCB is ready to work immediately after the execution of your application.
|
Command \ Available
|
Scheduler
|
Command line
|
Remote access
|
| /exit - this command forces OCB to halt. |
+
|
+
|
+
|
| /safeexit - exit only if no errors have occurred. |
+
|
+
|
+
|
| /trunclog - truncate the log file. |
+
|
+
|
+
|
| /reboot - reboot the computer. |
+
|
+
|
+
|
| /shutdown - shutdown the computer. |
+
|
+
|
+
|
| /logoff - log off from the system. |
+
|
+
|
+
|
| /hibernate - enter hibernate mode. |
+
|
+
|
+
|
| /suspend - enter suspend mode. |
+
|
+
|
+
|
| /unschedule(num) - unschedule presets. |
+
|
+
|
+
|
| /execsync(prog|prarms) - run a prog in sync mode. |
+
|
+
|
+
|
| /execasync(prog|prarms) - run a prog in async mode. |
+
|
+
|
+
|
| /forcereboot - reboot immediately. |
-
|
-
|
+
|
| /abort - abort current operation. |
+
|
+
|
+
|
| /hide - hide OCB to system tray on load. |
-
|
+
|
-
|
| /show - unhides OCB main window. |
-
|
+
|
-
|
| /showicon - recreates the icon in the system tray. |
-
|
+
|
-
|
| /schon - enable scheduler. |
-
|
+
|
-
|
| /schoff - disable scheduler. |
-
|
+
|
-
|
| /language(filename) - changes current language. |
-
|
+
|
-
|
SEE ALSO:
Configuring the scheduler.
Using command line
parameters to control OCB.
Index.