thank you guys for the nice help
i have tried your code but didn't get it to work.
@ enterprised:
I think you have forgot the second ).
if (Scheduler.IsScheduling("15 19 * * *")
if (Scheduler.IsScheduling("45 23 * * *")
after correcting that i was able to compile the code.
The Relay Switch on my Arduino works well when i enter 192.168.0.23:8081/?relay1on in my browser.
i have tried with:
Net.WebService("192.168.0.23:8081/?relay1on").GetData();
and then with the if block including. nothing happens...
my raspi is on the same subnet and pingable.
one more question:
when i press the yellow/green/red button infront of a programm in hg, will the code get executed or not ?