Re: procmail testing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 01/22/2014 02:09 PM, Ed Greshko wrote:
On 01/22/14 23:37, Robert Moskowitz wrote:
So you are correct that the formail is needed, as the reader does not have a date to show on displaying the message.  It does use the date in the first 'From ' line for the list of messages, and that mislead me yesterday.

But I am having a problem of how to specify this:

CRONDARGS=-m "formail -a "Date: `date`" | /usr/bin/procmail -f cron"

The quoting is wrong.  How do I get the quoting right for this arg list?

I would "cheat".

I would put formail -a "Date: `date`" | /usr/bin/procmail -f cron in a bash script called "mailme" in /usr/local/bin and then set

CRONDARGS=-m /usr/local/bin/mailme

Worked fine here....  Don't forget, of course, to make mailme executable.

Works!  Thanks!

I have one more item to work out. It seems that on my servers, I have a timestamp in the email of when the cron job started, not ended. This is interesting, as some of my cron jobs can take over an hour. I have to look more into this before I can call success on this project.


--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux