Commits

Craig Swank committed 8c25bef

updated sprinklers example

Comments (0)

Files changed (1)

examples/sprinklers.py

 
 # Minute   Hour   Day of Month       Month          Day of Week        Command    
 # (0-59)  (0-23)     (1-31)    (1-12 or Jan-Dec)  (0-6 or Sun-Sat)
-0   5   *  *  Wed  python2 /opt/local/gadgets/examples/sprinklers.py -m 'water front yard for 20 minutes'
-21  5   *  *  Wed  python2 /opt/local/gadgets/examples/sprinklers.py -m 'water back yard for 20 minutes'
-0   5   *  *  Sat  python2 /opt/local/gadgets/examples/sprinklers.py -m 'water front yard for 20 minutes'
-21  5   *  *  Sat  python2 /opt/local/gadgets/examples/sprinklers.py -m 'water back yard for 20 minutes'
-
-0   4   *  *  *    python2 /opt/local/gadgets/examples/sprinklers.py -m 'water back garden for 5 minutes'
-
-42  9,10,11,12,13,14,15,16,17,18 * * * python2 /opt/local/gadgets/examples/sprinklers.py -m 'water front garden for 2 minutes'
-
-50  9,10,11,12,13,14,15,16,17,18 * * * python2 /opt/local/gadgets/examples/sprinklers.py -m 'water sidewalk for 2 minutes'
-0   3 * * * python2 /opt/local/gadgets/examples/sprinklers.py -m 'water sidewalk for 30 minutes'
+0   5   *  *  Wed  gadgets --command 'water front yard for 20 minutes'
+21  5   *  *  Wed  gadgets --command 'water back yard for 20 minutes'
+0   5   *  *  Sat  gadgets --command 'water front yard for 20 minutes'
+21  5   *  *  Sat  gadgets --command 'water back yard for 20 minutes'
+0   4   *  *  *    gadgets --command 'water back garden for 5 minutes'
+42  9,10,11,12,13,14,15,16,17,18 * * * gadgets --command 'water front garden for 2 minutes'
+50  9,10,11,12,13,14,15,16,17,18 * * * gadgets --command 'water sidewalk for 2 minutes'
+0   3 * * * python2 gadgets --command 'water sidewalk for 30 minutes'
 
 NOTE:  I just planted a bunch of plants in the sidewalk zone and the front garden and it is the middle of summer.  I
 am watering them for 2 minutes each hour during the day so they don't dry out, not because I'm a water wasting bastard.
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.