From: Alessio B. <al...@al...> - 2003-01-18 16:40:26
|
On Fri, 2003-01-17 at 03:55, i18n wrote: > I have writen a new daily mail program. > Now that I have this single purpose mail program, I need to reintegrate it with dailyStuff. I don't think you really need. > First, I would strip out the daily mailing code from slashd. Sure. > Then I would like to simply call my new program with a system call in slashd, in the same loop and immediately after dailyStuff. You can run it as a task in the tasks directory, they work just like cron. You follow the coding standard and add the information that sets the time when the task runs (in your case, some time after midnight every day), and you should IMHO have a cleaner system. I have a weekly newsletter that's delivered using this tecnique. -- Alessio Bragadini <al...@al...> APL Financial Services (Overseas) Ltd |