Executing terminal command from automation script

8 years 7 months ago #2217 by Elmardus
I am running an EasyIoT server on my raspberry pi 2.
Is it possible to execute a command from an automation script?

The command is to wake up my pc (Wake on LAN), it is normally executed from the terminal:
wakeonlan 00:00:00:00:00:00

Can I add that command to execute whenever the automation program is activated?
I tried to use this script, but was not successful:
System.Diagnostics.Process.Start("CMD.exe",strCmdText);

Anybody have some advice?

Please Log in or Create an account to join the conversation.

Time to create page: 0.198 seconds

Forum latest

  • No posts to display.