On Tue, 31 Dec 2013 20:17:42 +0800
Ed Greshko <ed.gres...@greshko.com> wrote:

> On 12/31/13 19:24, Frank Murphy wrote:
> > Has anyone found a way to:
> > journalctl | grep "last 10 minutes"
> >
> >
> 
> man journalctl
> 
>       --since=, --until=
>            Start showing entries on or newer than the specified date,
> or on or older than the specified date, respectively. Date
> specifications should be of the format "2012-10-30 18:17:16". If the
> time part is omitted, 00:00:00 is assumed. If only the seconds
> component is omitted, :00 is assumed. If the date component is
> omitted, the current day is assumed. Alternatively the strings
> yesterday, today, tomorrow are understood, which refer to 00:00:00 of
> the day before the current day, the current day, or the day after the
> current day, respectively.  now refers to the current time. Finally,
> relative times may be specified, prefixed with - or +, referring to
> times before or after the current time, respectively.
> 
> 
> ???

Been there already culdn'f find a last 10mins

How does that give me 10 mins, and every 10 mins,
without enternining specific time
crontab -e
*/10 * * * * *
"journalclt -b -10 | mailx "Journalctl for last 10 mins" user"
Confused, hence the Q?  


-- 
Regards,
Frank 
www.frankly3d.com

-- 
users mailing list
users@lists.fedoraproject.org
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

Reply via email to