Hi Alexander, El Fri, 28 Jun 2013 08:24:30 +0200 Alexander Wagner <[email protected]> escrigué:
> On 27.06.2013 16:28, Ferran Jorba wrote: > > Hi! > > [...] > > One very curious behaviour is that the first task after midnight > > switches to SCHEDULED state but doesn't run. > > Strange indeed. However, the guys at RWTH had something similar with a > cron job that seemed to put bibsched to manual operation. I'm not sure > if it still persists, but it's nasty as well. > > > I get the friendly daily mail as such: > > > > Emergency from http://ddd.uab.cat: BibSched halted: Process > > bibsort (task_id: 140997) was launched but seems not to be able to > > reach RUNNING status. > > > > Anyhow, I needed a mechanism to automate my daily manual task to put > > bibsched into manual mode, know which is the task in SCHEDULED > > state, run it and put bibsched back to automatic mode. > > Out of sheer curiosity: does putting bibsched to manual and run the > task really put to running status? I wonder how that could work. It really works, on both machines. bibsched has too magic for me to understand it well, so I cannot provide an answer. > Sounds like a deeper problem, cause (without knowing the internals of > bibsched) this is exactly what bibsched is supposed to do > automagically, right? It shounds a bit strange, that hooking up a > scheduler with another scheduler (cron, I guess ;) makes the first > one working. That's why I also suspect about having two bibscheds in the same server. But I tried to stop one of them completely (in my test server) but the behaviour didn't change. As a matter of fact, going more into details, in one server the stucked job happens just before midnight and in the other just after midnight. Deep black magic. [...] > How compares bibsched --mode to bibsched stop/start? Been there, done that. If it worked, I had not patched it. What it does is remove the status SCHEDULED back into WAITING, but the job does not work either. > Do you know how much of your stuff could be accomplished by these > bibtasklet stuff? I haven't taken the time to learn about them, so I have no opinion, sorry. Anyway, do you think that this extra funcionality would be useful to you? The interface is clear, or you'd prefer other names? Ferran
