Source

Raspberry Pi GPIO Web Control / cron.conf.MAY_BE_CHANGED

Full commit
Sebastian Bub f09d7ae 
















Sebastian Bub d2454f0 


Sebastian Bub 5113434 
Sebastian Bub 4e5cc23 

Sebastian Bub 5113434 

Sebastian Bub 4e5cc23 
Sebastian Bub d2454f0 


Sebastian Bub 5113434 




Sebastian Bub d2454f0 
Sebastian Bub f09d7ae 

Sebastian Bub 5113434 

Sebastian Bub 49f77d1 
Sebastian Bub 5113434 

# Copyright 2012 der-bub.de
# http://www.der-bub.de
# Author: Sebastian Bub (sebastian@der-bub.de)
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
#
# - see http://quartz-scheduler.org/documentation/quartz-2.1.x/tutorials/crontrigger
# - syntax is crontab like (but with seconds)
# - use double colons to split between schedule and command (GET parameter syntax)
# - output ports are written (single equal sign)
# - input ports act like an "if" (when used as conditions (see README.md))
# - multiple conditions are concatinated with AND
# - you may define your own variables with a prefix VIRTUAL (see example) which are persisted in memory
# - unknown virtual variables default to "0"
# - parsing is done from left to right (you probably want your conditions come first (before output port))
#
# Samples
#
# Fire at 10:15am every day (g0 and g1 are both output ports and both are set)
# 0 15 10 ? * *         :: g0=1&g1=1
#
# Fire at 10:15am every day (g0 is an output and g1 is input: g0 is only set if g1=1)
# 0 15 10 ? * *         :: g1==1&g0=1
#
# Fire at 10:15am every day during the year 2005
# 0 15 10 * * ? 2005    :: g0=1
#
#
# Fire between 16:00 and 21:00 every minute, but only set lamp1out if not already set and dark enough
# 0 * 16-21 ? * *         :: VIRTUALlamp1alreadyOn==0&darknessSensor1in==1&lamp1out=1&VIRTUALlamp1alreadyOn=1
# Fire at 22:00 and turn off lamp1out
# 0 0 22 ? * *            :: lamp1out=0&VIRTUALlamp1alreadyOn=0