summaryrefslogtreecommitdiff
path: root/cron/senddigests (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Move all cron scripts to the new Mailman.bin package layout and complete thebwarsaw2006-05-131-94/+0
| | | | | conversion to optparse style option parsing. Remove mailpasswds as password reminders will go away for MM2.2.
* FSF office has moved. chdcking in for MAIN branch.tkikuchi2005-08-271-1/+1
|
* Jon Parise's patch to improve the usage() output for the command linebwarsaw2002-10-211-2/+6
| | | | | | and cron scripts. When code/status == 0, there's no error (it's likely --help output) so send that to stdout. Otherwise, it's an error and the output goes to stderr.
* main(), usage(): Added support for command line arguments -h/--helpbwarsaw2002-08-281-2/+43
| | | | and -l/--listname.
* main(): The .Save() call should be in the try: clause.bwarsaw2002-02-261-2/+2
|
* mimelib -> emailbwarsaw2001-10-221-3/+0
|
* Ben Gertzfield's patch to hardcode the path to the python executablebwarsaw2001-09-071-1/+1
| | | | | | | | | | | | | into the script's #! line -- based on --with-python settings, without losing CVS revision history. #! /usr/bin/env python becomes #! @PYTHON@ which gets substituted for in configure.
* Reorder the imports so mm_cfg is always the first module importedbwarsaw2001-07-271-1/+5
| | | | | | | | | | | | | | | after paths. Because these scripts are run from cron with "python -S" they must import mm_cfg before attempting to import mimelib; mm_cfg hacks sys.path to include site-packages which -S inhibits. For those scripts that already import mm_cfg, add a comment describing the import order dependencies. For those that didn't, add a comment about why it's being imported. Also, gate_news: Removed the _ContinueLoop docstring so translators have one less non-translatable docstring to worry about. Closes Thomas's SF patch #443803.
* main(): MailList objects have grown a send_digest_now() method thatbwarsaw2001-05-011-26/+6
| | | | | encapsulates all the work necessary to send a digest. Use this instead of the send_digests() function -- which has been removed.
* Convert to using the new ToDigest module which stores its digests in abwarsaw2001-02-151-20/+23
| | | | | Unix mailbox file instead of the separate next-digest and next-digest-topics files.
* Update the copyright lines to include the years 1999 & 2000.bwarsaw2000-03-211-1/+1
|
* When sending a list's digest, the list must be locked, and must bebwarsaw1999-12-151-10/+20
| | | | | saved after sending, otherwise the digest numbers and post numbers are not tracked correctly.
* It is not an error to get an ENOENT when stat'ing the digest file, itbwarsaw1999-12-101-4/+2
| | | | | just means that there /is/ no digest waiting to go out for this list. So don't log an error message.
* minor typobwarsaw1999-11-111-1/+1
|
* main(): Convert to new pipeline architecture.bwarsaw1999-11-101-8/+24
|
* 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.
* Packagizedbwarsaw1998-06-191-3/+4
|
* Add Unlock() calls where appropriate, and add lock = 0 to MailListviega1998-06-131-2/+1
| | | | constructor actuals when the list doesn't need to be locked.
* Oops, really remove the RCS crud this time!bwarsaw1998-05-261-2/+0
|
* 1. Use the standard Python invocation #! line to get the interpreterbwarsaw1998-05-261-5/+4
| | | | | | | | | | | from $PATH 2. Do no direct sys.path munging in this file. Import the `paths' module, which is created during the configure process, and which performs all necessary path munging (and exports some useful variables too). 3. Remove RCS crud
* Fixed a typo in the zipcode.viega1998-05-261-2/+2
|
* Added copyright notices to all source files where I am legally entitled to ↵viega1998-05-251-1/+16
| | | | | | | do so. Added a copy of the GNU GPL. Added information about mailman-users in README, and reworded some text in there (made the credits less verbose... perhaps they should move to a credits file?)
* Preparing to package a distribution - add a module docstring andmailman1998-04-091-4/+6
| | | | __version__ info.
* Initial version.mailman1998-03-181-0/+23