What happens with daemon

2 views
Skip to first unread message

Zufallsprodukt

unread,
Nov 19, 2010, 7:22:29 AM11/19/10
to Sunner Moodle Plugins
Hello, i am working on onlinejudge and expand it to a wider assessment
tool.
Can anyone tell me in which case it happens that the daemon judges
several times simultaneously?
What I did: I wanted a file to be rejudged and changed
`mdl_assignment_oj_submissions` in one single "judge" from 1 to 0.
Everytime cpp.sh is called I log it into a logfile (read with tail -f
logfile.txt) and I see that the logfile isnt logging sequentially but
instantly.

Do I need to delete the apache cache in order to develop on
assignment.class.php?
Thanks for helping and greetings from Jena/ Germany

Zhigang Sun

unread,
Nov 20, 2010, 7:57:33 AM11/20/10
to sunner-moodle-plugins
On Fri, Nov 19, 2010 at 20:22, Zufallsprodukt <ssc...@gmx.de> wrote:
Hello, i am working on onlinejudge and expand it to a wider assessment
tool.
Wow~~~~ Thank you!!!
 
Can anyone tell me in which case it happens that the daemon judges
several times simultaneously?
I can't understand it well. Do you mean the daemon judges one submission several times simultaneously?
 
What I did: I wanted a file to be rejudged and changed
`mdl_assignment_oj_submissions` in one single "judge" from 1 to 0.
Everytime cpp.sh is called I log it into a logfile (read with tail -f
logfile.txt) and I see that the logfile isnt logging sequentially but
instantly.
What does the "instantly" mean? Why should the log be delayed?


Do I need to delete the apache cache in order to develop on
assignment.class.php? 
Normally, you just need to restart the judge daemon. But if you are using a php accelerator, you must refresh the cache. Until now, I never met any problems about the apache cache.

Thanks for helping and greetings from Jena/ Germany

--
You received this message because you are subscribed to the Google Groups "Sunner Moodle Plugins" group.
To post to this group, send email to sunner-moo...@googlegroups.com.
To unsubscribe from this group, send email to sunner-moodle-pl...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/sunner-moodle-plugins?hl=en.




--
哈尔滨工业大学(Harbin Institute of Technology)
孙志岗(Sun Zhigang)
http://sunner.cn
Reply all
Reply to author
Forward
0 new messages