[PLUG] Automating mailings at intervals of 1 hour

Rich Shepard rshepard at appl-ecosys.com
Fri Feb 12 01:22:33 UTC 2016


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



More information about the PLUG mailing list