13
RF11iQP Warranty and User Manual
Windows Example
Start by finding a version of curl that works on your system. A good place to start is
http://curl.haxx.se/download.html. Download and copy the curl.exe into your
c:\windows\system32 directory. You may need to do this by running an explorer or cmd shell
as administrator. Click Start, search for “cmd”, right click on cmd.exe when it appears and run as
administrator, then copy from there. You can do the same with explorer.exe instead of cmd.exe
Ensure that the curl command line call works, by clicking Start, searching for “cmd” and running
cmd.exe. Enter the curl command and make sure the RF11iQP switches on or off correctly.
Now set up the schedule. Start->Control Panel, System and Security, Administrative Tools, Task
Scheduler.
Create a basic task named “RF11iQP Startup”, with a weekly trigger, starting at 9:00:00am and
recurring every 1 week, with Monday through Friday checked. The task should start a program
curl.exe, with the --user and url arguments to power up the circuit added.
Create a second task named “RF11iQP Shutdown” which is the same, except it should start at
5:00:00pm and arguments set to power down the circuit.
YOU’RE DONE!
Mac Example
OS-X still supports the crontab utility as used by the linux example, although it has been
deprecated in favour of launchd.
The configuration of launchd to call the curl utility is outside this scope: please refer to the Apple
knowledgebase on the subject (searching for “launchd.plist” may also yield some good results).