10 More Discussions You Might Find Interesting
1. Emergency UNIX and Linux Support
Hi,
I need to set up a script that would write the results of the ping command from one AIX server to another file may be every minute. Like this I need to gather the data for a period of 24 hours.
Can someone please help me with this?
G (5 Replies)
Discussion started by: ggayathri
5 Replies
2. Emergency UNIX and Linux Support
Hi
I have requirement to read only unread files from the directory and load into database.
Scenario: I do receive bunch of files into my unix directory for every 15 mins. My ETL Process every once in a day and reads the files and loads into db table. I cannot move these file into different... (9 Replies)
Discussion started by: cnrj
9 Replies
3. UNIX for Dummies Questions & Answers
Could somebody please advise about how to configure pine/alpine so that on exit it doesn't prompt me to save read messages? Thanks (3 Replies)
Discussion started by: LeoKSimon
3 Replies
4. UNIX for Dummies Questions & Answers
Does anyone have any idea how to see only unread (new) e-mails in the Alpine client when using IMAP?
I finally have a fast IMAP client, but don't want to go over all the e-mails I've already read through other clients...
Thanks in advance for any hints.
---------- Post updated at 01:21 PM... (0 Replies)
Discussion started by: JamesR404
0 Replies
5. Shell Programming and Scripting
Hi all,
I use Conky monitor (Conky - Home) for my laptop and I needed a script to see the count of new messages on gmail/IMAP, then I made this small perl script
(I hope they can be useful to someone :))
gimap.pl
#!/usr/bin/perl
# gimap.pl by gxmsgx
# description: get the count of unread... (0 Replies)
Discussion started by: gxmsgx
0 Replies
6. UNIX and Linux Applications
I'm learning a little about pine after downloading it (pine 4.64). I can't seem to get it to work, though. It can't open the inbox -- it sits there (as the little slash mark rotates) but after a while it stops and can't make the connection, with a message saying that "connection to... (1 Reply)
Discussion started by: Straitsfan
1 Replies
7. Shell Programming and Scripting
still touching on the basics here:
first of all where are my received messages stored in pine?
/var/spool/mymail
is not it.
i guess i cant start my script without knowing this. because i need to move those files into a seperate folder and so on and so forth.
I can prolly do a... (0 Replies)
Discussion started by: oxoxo
0 Replies
8. UNIX for Dummies Questions & Answers
Hi
Does anyone know how to mark messages as unread either in Pine or from a Terminal or some such ?
Thanks,
James (1 Reply)
Discussion started by: Rylann
1 Replies
9. UNIX for Dummies Questions & Answers
I typed the following commands:
176 lab2-37:~> ed newb.txt
74
1,6p
Hello
Hello World.
I need some sentences to edit.
add the script
OK Fn
2,4c
.
1,3p
Hello
add the script
OK Fn
q
? (4 Replies)
Discussion started by: endeavour1985
4 Replies
10. UNIX for Dummies Questions & Answers
Hi,
I have a question I know I've seen answered somewhere before, but my last hour of searching has turned up nothing (so forgive me for re-asking!). I'm using Pine on UNIX to check mail at a couple remote POP3 servers, and old messages in the remote inboxes are mistakenly labeled "N", new,... (1 Reply)
Discussion started by: sean_oconnor
1 Replies
OutputJob(3pm) LogReport's Lire Documentation OutputJob(3pm)
NAME
Lire::OutputJob - Object used to represent a configured formatting of a report
SYNOPSIS
use Lire::OutputJob;
use Lire::OutputFormat;
my $email = new Lire::OutputJob( 'email', $output, $output_cfg,
'emails' => [ 'email@domain.org' ] );
$email->run( 'report.xml' );
my $file = new Lire::OutputJob( 'file', $output, $output_cfg,
'filename' => '/var/www/reports/daily-%Y%m%d' );
$file->run( 'report.xml' );
DESCRIPTION
The Lire::OutputJob objects are used to represent how a report should formatted. These objects are most often created from the Lire
configuration. (The 'output_jobs' specification.)
new( $destination_type, $format, $format_cfg, ... );
Create a new Lire::OutputJob object. Two parameters are required:
$destination_type
Can be either 'email' or 'file'.
$format
A Lire::OutputFormat object.
$format
The configuration data that will be passed to the OutputFormat object.
The method will returns an instance of Lire::EmailOutputJob or Lire::FileOutputJob.
format
Returns the Lire::OutputFormat associated with this OutputJob.
format_cfg
Returns the configuration data that will be used when formatting the report.
run( $report_file )
Formats and sends or save the XML report $report_file according the OutputJob parameters.
Lire::EmailOutputJob
Extra parameters for 'email' type
emails
An array reference to the emails that will receive the formatted report.
subjet
The subject of the email.
extra_file
An additional text file that will be appended to text report or attach to other report types.
emails()
Returns as an array the emails to which the report will be sent.
subject()
Returns the subject of the email.
extra_file()
Returns the filename that will be appended to the text report or attach to the message for other report's type.
Lire::FileOutputJob
Extra parameters for 'file' type.
file
A file path with possible strftime(3pm) interpolation. This will be were the formatted report will be saved.
file()
Returns this OutputJob destination file.
output_file( [$time] )
Returns the destination file with strftime(3) specifier interpolated.
SEE ALSO
Lire::ReportJob(3pm) Lire::OutputFormat(3pm)
AUTHOR
Francis J. Lacoste <flacoste@logreport.org>
VERSION
$Id: OutputJob.pm,v 1.8 2006/07/23 13:16:29 vanbaal Exp $
COPYRIGHT
Copyright (C) 2004 Stichting LogReport Foundation LogReport@LogReport.org
This file is part of Lire.
Lire is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free
Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program (see COPYING); if not, check with
http://www.gnu.org/copyleft/gpl.html.
Lire 2.1.1 2006-07-23 OutputJob(3pm)