On Mar 18, 2010, at 3:40 PM, mdipierro wrote: > It is a bug.
What's the fix? > > Massimo > > On Mar 18, 3:07 pm, Jonathan Lundell <jlund...@pobox.com> wrote: >> When I completely remove admin, cron crashes: >> >>>>>>>>>> File "/opt/vtc/vpepmanage/web2py/web2py.py", line 20, in <module> >>>>>>>>>> gluon.widget.start(cron=True) >>>>>>>>>> File "/opt/vtc/vpepmanage/web2py/gluon/widget.py", line 732, in >>>>>>>>>> start >>>>>>>>>> cron = contrib.cron.hardcron() >>>>>>>>>> File "/opt/vtc/vpepmanage/web2py/gluon/contrib/cron.py", line 44, >>>>>>>>>> in __init__ >>>>>>>>>> self.launch() >>>>>>>>>> File "/opt/vtc/vpepmanage/web2py/gluon/contrib/cron.py", line 48, >>>>>>>>>> in launch >>>>>>>>>> crondance(self.path, 'hard', startup = self.startup) >>>>>>>>>> File "/opt/vtc/vpepmanage/web2py/gluon/contrib/cron.py", line 240, >>>>>>>>>> in crondance >>>>>>>>>> token = Token(cron_path) >>>>>>>>>> File "/opt/vtc/vpepmanage/web2py/gluon/contrib/cron.py", line 88, >>>>>>>>>> in __init__ >>>>>>>>>> open(self.path,'wb').close() >>>>>>>>>> IOError: [Errno 2] No such file or directory: >>>>>>>>>> '/opt/vtc/vpepmanage/web2py/applications/admin/cron/cron.master' >> >> Is it enough to simply create the empty directories? >> >> At any rate, I don't think that cron should depend on admin (or its >> directory structure); maybe there should be a cron directory at the web2py >> root? > > -- > 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.