Commits

Craig Swank committed ba5575d

tweaking crontab example in sprinklers

  • Participants
  • Parent commits 8c25bef

Comments (0)

Files changed (1)

File examples/sprinklers.py

 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'
+42  9-18 * * * gadgets --command 'water front garden for 2 minutes'
+50  9-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