Field('period_from', requires=IS_IN_SET(['Scheduled start', 'Actual start']),
comment='Actual start may be later than scheduled start due to worker availability.')
uhm... definitely it should retain the "actual start" behaviour because lots of cases depend on it.I'm not positive about having to doqueue_task(......., period_from='Actual Start')as "column names" are "translated" to API keywords. An argument that takes a set of "english strings" is not that clean....That's why I suggested a boolean field, so you can doqueue_task(......., cron_like_behaviour=True)
but I totally get the "tough" process in figuring out the name ;-D
On Friday, January 10, 2014 4:05:40 PM UTC+1, Anthony wrote:
Can the usual suspects (@anthony :P) figure out a nice name for the soon-to-be-added column ?
revertstarttime
-or-
fixedtimetostart
-or-
staticstarttime
start_time in ['fixed_start','fixed_period']
--
-- mail from:GoogleGroups "web2py-developers" mailing list
make speech: web2py-d...@googlegroups.com
unsubscribe: web2py-develop...@googlegroups.com
details : http://groups.google.com/group/web2py-developers
the project: http://code.google.com/p/web2py/
official : http://www.web2py.com/
---
You received this message because you are subscribed to a topic in the Google Groups "web2py-developers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/web2py-developers/68nGdKAmGmg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to web2py-develop...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Tim Richardson, Director GrowthPath, Data-driven profit growth Mobile: +61 423 091 732 Office: +61 3 8678 1850 I tweet useful business & IT tips at growthpath_au GrowthPath Pty Ltd ABN 76 133 733 963 |
let's go with prevent_drift ?
For me is ok
--
-- mail from:GoogleGroups "web2py-developers" mailing list
make speech: web2py-d...@googlegroups.com
unsubscribe: web2py-develop...@googlegroups.com
details : http://groups.google.com/group/web2py-developers
the project: http://code.google.com/p/web2py/
official : http://www.web2py.com/
---
You received this message because you are subscribed to the Google Groups "web2py-developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to web2py-develop...@googlegroups.com.
Then pretend my post was a +1 on your idea https://groups.google.com/d/msg/web2py-developers/68nGdKAmGmg/3tX8bri4K1sJ except I think "guaranteed period" better describes the existing functionality. I would have to think twice/read docs to understand the subtle difference between scheduled start and actual start. Also, "guaranteed period" is a feature; "prevent_drift" is a bug fix.
Can't existing behaviour be achieved by defaulting to guaranteed period or whatever to call it?
On Monday, January 13, 2014 3:39:13 PM UTC-5, Tim Richardson wrote:Then pretend my post was a +1 on your idea https://groups.google.com/d/msg/web2py-developers/68nGdKAmGmg/3tX8bri4K1sJ except I think "guaranteed period" better describes the existing functionality. I would have to think twice/read docs to understand the subtle difference between scheduled start and actual start. Also, "guaranteed period" is a feature; "prevent_drift" is a bug fix.
Can't existing behaviour be achieved by defaulting to guaranteed period or whatever to call it?
+1. To me is more obvious expecting the actual behaviour than the newly requested when queueing task with "period" and "repeat" but I guess I'm remaining the only one
It just sounds like a bugfix if you didn't get how scheduler was meant to be :-P
--
-- mail from:GoogleGroups "web2py-developers" mailing list
make speech: web2py-d...@googlegroups.com
unsubscribe: web2py-develop...@googlegroups.com
details : http://groups.google.com/group/web2py-developers
the project: http://code.google.com/p/web2py/
official : http://www.web2py.com/
---
You received this message because you are subscribed to a topic in the Google Groups "web2py-developers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/web2py-developers/68nGdKAmGmg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to web2py-develop...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Has always been an issue with scheduling in our maintenance management systems. We have an additional field with 2 states, fixed or floating. Fixed means that the time is set by the interval plus time when last scheduled. Floating from when the task was actually completed (run). Fixed is normally for statutory requirements, floating for general servicing etc ...