Re: [web2py] Re: where is this coming from?
On Apr 2, 2010, at 5:33 PM, mdipierro wrote: h. I think it may be this line in newcron.py logging.info('WEB2PY CRON (%s): %s executing %s in %s at %s' \ % (ctype, app, task.get('cmd'), os.getcwd(), datetime.datetime.now())) should it be .warn instead of .info? Maybe, but I think my message must have been from the old cron, because it didn't say WEB2PY. I'm going to abandon cron and do my session expirations from a model. On Apr 1, 11:06 am, Jonathan Lundell jlund...@pobox.com wrote: On Apr 1, 2010, at 8:49 AM, Yarko Tymciurak wrote: my quick guess would be start at line 45, winservice.py -- it has ReportServiceStatus This is OS X, so not winservice. Presumably. I was running 1.76.3 inadvertently; I'll see what happens with .5. Actually - as I look at it, I'll bet it's coming from the call Service::log(), which calls which calls servicemanager.LogInfoMsg() Try setting a breakpoint there, and see if this stuff shows up in the msg param or log() Cheers, - Yarko On Apr 1, 9:39 am, Jonathan Lundell jlund...@pobox.com wrote: On Apr 1, 2010, at 6:18 AM, mdipierro wrote: applications/admin/cron/crontab The message itself, I mean. It's showing up on my console, and I can't find the source. On Apr 1, 12:37 am, Jonathan Lundell jlund...@pobox.com wrote: Wed Mar 31 16:10:00 2010 hard CRON RUNNING ['/opt/local/Library/Frameworks/Python.framework/Versions/2.6/Resources/Python.app/Contents/MacOS/Python', 'web2py.py', '-P', '-N', '', '-S', 'admin', '-a', 'recycle', '-R', 'applications/admin/cron/expire_sessions.py'] -- You received this message because you are subscribed to the Google Groups web2py-users group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com. For more options, visit this group athttp://groups.google.com/group/web2py?hl=en. -- You received this message because you are subscribed to the Google Groups web2py-users group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/web2py?hl=en. -- You received this message because you are subscribed to the Google Groups web2py-users group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.
Re: [web2py] Re: where is this coming from?
On Apr 1, 2010, at 6:18 AM, mdipierro wrote: applications/admin/cron/crontab The message itself, I mean. It's showing up on my console, and I can't find the source. On Apr 1, 12:37 am, Jonathan Lundell jlund...@pobox.com wrote: Wed Mar 31 16:10:00 2010 hard CRON RUNNING ['/opt/local/Library/Frameworks/Python.framework/Versions/2.6/Resources/Python.app/Contents/MacOS/Python', 'web2py.py', '-P', '-N', '', '-S', 'admin', '-a', 'recycle', '-R', 'applications/admin/cron/expire_sessions.py'] -- You received this message because you are subscribed to the Google Groups web2py-users group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.
Re: [web2py] Re: where is this coming from?
On Apr 1, 2010, at 8:49 AM, Yarko Tymciurak wrote: my quick guess would be start at line 45, winservice.py -- it has ReportServiceStatus This is OS X, so not winservice. Presumably. I was running 1.76.3 inadvertently; I'll see what happens with .5. Actually - as I look at it, I'll bet it's coming from the call Service::log(), which calls which calls servicemanager.LogInfoMsg() Try setting a breakpoint there, and see if this stuff shows up in the msg param or log() Cheers, - Yarko On Apr 1, 9:39 am, Jonathan Lundell jlund...@pobox.com wrote: On Apr 1, 2010, at 6:18 AM, mdipierro wrote: applications/admin/cron/crontab The message itself, I mean. It's showing up on my console, and I can't find the source. On Apr 1, 12:37 am, Jonathan Lundell jlund...@pobox.com wrote: Wed Mar 31 16:10:00 2010 hard CRON RUNNING ['/opt/local/Library/Frameworks/Python.framework/Versions/2.6/Resources/Python.app/Contents/MacOS/Python', 'web2py.py', '-P', '-N', '', '-S', 'admin', '-a', 'recycle', '-R', 'applications/admin/cron/expire_sessions.py'] -- You received this message because you are subscribed to the Google Groups web2py-users group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/web2py?hl=en. -- You received this message because you are subscribed to the Google Groups web2py-users group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.