summaryrefslogtreecommitdiff
path: root/cron/run_queue (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Since the bulk mailer is gone now, run_queue is no longer necessary.bwarsaw2000-03-211-46/+0
|
* flock => LockFilebwarsaw1999-08-201-4/+4
| | | | hung_timeout => lifetime
* Move the locking stuff to here from OutgoingQueue.processQueue().bwarsaw1999-07-071-1/+16
| | | | | This way, I can wrap the body of the code in a try/finally so the lock is definitely released should something bad happen.
* On some RedHat Linuxes, there appears to be a problem with some cronsbwarsaw1999-01-131-0/+4
| | | | | | | | | | | | | | | | | | | | | | messing up their SIGCHLD handling. This would manifest as an IOError getting raised in the cmdproc.close() call of DeliverToList() in Deliverer.py. Thanks go Harald Meland for describing the real problem and giving the real fix. Thanks go to Greg Stein for testing this patch and verifying that it works. Deliverer.DeliverToList(): Undo previously checked in patch, which simply wrapped a try/except around the cmdproc.close() call and ignored errno=10 IOErrors. This was treating the symptoms, not the cause. All files in cron/: Added Harald's work around of the Linux bug by including these lines in every file: # Work around known problems with some RedHat cron daemons import signal signal.signal(signal.SIGCHLD, signal.SIG_DFL) It helps RedHat and doesn't appear to hurt on e.g. Solaris.
* Removed inappropriate comment (apparent residue from incompleteklm1998-11-011-6/+2
| | | | | cut-and-paste of the 'archive' script). I added a more relevant, but really minimal, comment, in its stead.
* Wrapped the call to smtplib with some queueing code.viega1998-07-201-0/+31
There's a new crontab entry that checks the queue once every 30 mins.