cmds - vlizBE/dcafs GitHub Wiki
This page aims to give an overview of all the commands that aren't tied to a specific module. Because those can be found on the page of the module (at some point).
-
admin:adddebugnodeAdds a debug node with default values -
admin:clockGet the current timestamp -
admin:gcFore a java garbage collection -
admin:getlogsGet the latest logfiles -
admin:gettasklogGet the taskmananger log -
admin:hawStop all workers -
admin:ipv4Get the IPv4 and MAC of all network interfaces -
admin:ipv6Get the IPv6 and MAC of all network interfaces -
admin:methodcallGet the time passed since a certain LabelWorker method was called -
admin:rebootReboot the computer (linux only) -
admin:regex,<regex>,<match>Test a regex -
admin:smsSend a test SMS to the admin number
-
cmdsList all available commands -
cmds:wordList all commands that start with the word -
cmds:regexList all commands that match the regex
-
listthreadorltGive a list of all active threads
-
serialportsGet a list of all serialports on the system (note: on linux this doesn't show the virtual ones)
-
shutdownorsdShutdown dcafs -
shutdown:reasonorsd:reasonShutdown dcafs but log the reason for it (will be included in the notification email)
-
sleep:rtc,periodLet the pc sleep for the given time using the chosen rtc module (fe. sleep:1,5m) !only works on linux!
-
stopRemove the origin of this command from the target lists (as in, remove its src's)
-
retrieve:tmscript,tmid,emailref/emailaddressIf the TaskManager exists, send the script to the email address -
retrieve:settings,emailref/emailaddressSend the settings.xml to the email address
Note: when send via email, if the email part is missing the from address will be used
-
update:tmscript,tmidChecks if the TaskManager exists, if so backup current script (to oldname_yyMMdd_HHmm.xml) and replace the original with the one in the attachment folder. -
update:settingsBackups the current settings.xml (to settings_yyMMdd_HHmm.xml). and replaces the original with the one in the attachment folder
-
store:rtvalname,valueStore the given value as the rtval with the name