i did not use it , i use "http://127.0.0.1:8000/myapplication"; .

On Saturday, April 2, 2016 at 1:53:37 PM UTC+4:30, Dave S wrote:
>
> On Saturday, April 2, 2016 at 2:04:19 AM UTC-7, narges Rezaei wrote:
>>
>> hi 
>> i have an application  for send sms in certain time . i use pycharm 
>> (web2py) for writing this program and  web2py scheduler . i can see the 
>> records of tasks in db.scheduler_task but no records in scheduler_run and 
>> scheduler_worker tables and also the task will execute befor insert in 
>> table .
>>
>>
>> Here is part of my codes in default.py:
>> def index():
>>  t=mysched.queue_task( demo() ,start_time=request.now+ timed(seconds=60) )
>>  q=mysched.task_status(t.id , output=True)
>>
>> and the code in scheduler.py in Models folder:
>>
>> from gluon.scheduler import Scheduler
>> import time
>>
>> def demo():
>>     #send sms in start time
>>     return None
>>
>> mysched = Scheduler(db,  max_empty_runs=10 , discard_results=False)
>> ######################
>>
>> Could any one help me figure out the problem?
>> Thanks!  
>>
>>
>
> Did you start the scheduler with "python web2py.py --regularoptionsgoheer 
> -K" ?
>
> You can do this from the command line for a manual start.  For automatic 
> restart after a boot, you need to put in the appropriate system script.
>
> /ps
>  
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to