On Thu, Jun 18, 2015 at 6:06 PM, Craig L Russell
<[email protected]> wrote:
> Nice.
>
> Now, we need to get the secmail.txt to show when the tool was last run.

The script runs every 20 minutes.

> Right now, the last email processed was Thu, 18 Jun 2015 18:14:34 +0000
> But there is mail that came in since then.

There is indeed a problem.  Appears that there is a mailformed spam
message in the queue.  I made a quick fix to see if that clears up the
problem, but will check again later.

> Is the incoming email processor part of whimsy or is that an infra thing?

Yes. :-)

And by that, I mean both.

> Craig

- Sam Ruby

>> On Jun 18, 2015, at 1:53 PM, Sam Ruby <[email protected]> wrote:
>>
>> On Thu, Jun 18, 2015 at 12:36 PM, Craig L Russell
>> <[email protected]> wrote:
>>> When loading or refreshing the main page, I’d like the current date/time to 
>>> be displayed, followed by the contents of the file 
>>> http://minotaur.apache.org/~apmail/secmail.txt and then the rest of the 
>>> page as now.
>>>
>>> WDYT?
>>
>> Done.
>>
>> FYI, here's the code:
>>
>>>   secmail_status = 'http://minotaur.apache.org/~apmail/secmail.txt'
>>>   _a `curl #{secmail_status}`.sub(': ', ":\n"), href: secmail_status,
>>>     target: '_blank'
>>
>> What I'm creating is an html <a href='...' target='_blank'> element,
>> where the href is the url you gave me, and the content is fetched
>> using curl, with the space after the colon replaced by a newline.
>>
>> Full code, in context:
>>
>> https://svn.apache.org/repos/infra/infrastructure/trunk/projects/whimsy/www/secretary/workbench/worklist.cgi
>>
>> - Sam Ruby
>>
>>
>>> Craig
>>>
>>> Craig L Russell
>>> Architect, Oracle
>>> http://db.apache.org/jdo
>>> 408 276-5638 mailto:[email protected]
>>> P.S. A good JDO? O, Gasp!
>
> Craig L Russell
> Architect, Oracle
> http://db.apache.org/jdo
> 408 276-5638 mailto:[email protected]
> P.S. A good JDO? O, Gasp!
>

Reply via email to