whoopsie, a small "bugfix" of my post (edits in *red "italic"*)
On Friday, May 3, 2013 8:23:00 PM UTC+2, Niphlod wrote: > > > So, you have 2 "paths" to follow: > - code your task to return *immediately* without doing nothing if > request.now is between 6pm and 8am > - use another task that will run at, let's say, 2am, to schedule another > task for the *current* day. > > in this case you'd schedule "schedule_a_day_task" as *start_time = today > at 8am, stop_time = today at 6pm* repeats=0, period = 60*60*24 and you'd > be sure that it will take care of queueing every day a task > (the_other_task) that does the work between 8am and 6pm. > > -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

