[PLUG] Automating mailings at intervals of 1 hour

wes plug at the-wes.com
Fri Feb 12 01:34:57 UTC 2016


On Thu, Feb 11, 2016 at 5:22 PM, Rich Shepard <rshepard at appl-ecosys.com>
wrote:

> On Thu, 11 Feb 2016, Jim Lewinson wrote:
>
> > How about if you have a cron job that looks every hour in a given
> > directory, and selects the first file and sends it?
> >
> > The file contains the subject and the addresses, and after sending it, it
> > is deleted.
> >
> > Then, you just put the files into that directory when you want to send
> them,
> > and otherwise the script wakes up and just goes back to sleep for an
> hour.
>
> Jim,
>
>    That could work ... as long as I remember to delete the top-most file
> after it's sent.
>
> Thanks,
>
> Rich
>

the script would delete (or move) the file at the end.

-wes



More information about the PLUG mailing list