System mail (Fedora 20)
lists at petetravis.com
Thu Dec 26 19:16:54 UTC 2013
On Dec 26, 2013 11:46 AM, "Lars E. Pettersson" <lars at homer.se> wrote:
> On 12/26/2013 07:32 PM, Pete Travis wrote:
>> Try `journalctl -u crond --since today` for example. journalctl has
>> filtering options built in, the man page is worth skimming.
> OK, took 12 seconds (cat /var/log/cron is even faster though :). But
'journalctl -u crond --since today' does not produce the same output as
'journalctl --since today | grep cron' (which more or less resembles what I
have in /var/log/cron). Shouldn't -u crond produce the same output (more or
less) as /var/log/cron?
> Lars E. Pettersson <lars at homer.se>
It has been a while since I tested, but I recall one entry for the command
crond was executing, and one entry for STDOUT of that command. If you see
something different, can you share your cronjob and the relevant journal
entries, so I can correct that conception?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the users