On Dec 26, 2013 11:46 AM, "Lars E. Pettersson" <lars@xxxxxxxx> 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
> --
> Lars E. Pettersson <lars@xxxxxxxx>
> http://www.sm6rpz.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?
--Pete
-- 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