[mrtg] Can anyone send examples do feed in crontab ?

McDonald, Daniel (Dan) Dan.McDonald at austinenergy.com
Mon Jul 11 16:31:31 CEST 2016


What user are you running it as by hand?  I have an mrtg user, so I specified that. You may need to change the user. You might not need env Lang C

Get Outlook for iOS<https://aka.ms/o0ukef>




On Mon, Jul 11, 2016 at 6:53 AM -0700, "thomaz portella" <thomazp at gmail.com<mailto:thomazp at gmail.com>> wrote:


Thanks,
I Have did it That way, and I am waiting for the output.
But didn't work. :-(
But running by hand, it works.
Thanks for The support
This is what I have in Suse Enterprise version 11-SP4:
mcdonalddj at sles-devel:~> cat /etc/cron.d/mrtg
*/5 * * * * mrtg  env LANG=C /usr/bin/mrtg /var/lib/mrtg/cfg/mrtg.cfg --logging=/var/log/mrtg.log


obviously, your paths might be different.


From: mrtg <mrtg-bounces+dan.mcdonald=austinenergy.com at lists.oetiker.ch<mailto:austinenergy.com at lists.oetiker.ch>> on behalf of thomaz portella <thomazp at gmail.com<mailto:thomazp at gmail.com>>
Date: Sunday, July 10, 2016 at 7:28 PM
To: "mrtg at lists.oetiker.ch<mailto:mrtg at lists.oetiker.ch>" <mrtg at lists.oetiker.ch<mailto:mrtg at lists.oetiker.ch>>
Subject: [mrtg] Can anyone send examples do feed in crontab ?

I will need to do this tomorrow morning, and I don't want to loose time searching.
Thanks,


--
Thomaz S L Portella
thomazp at gmail.com<mailto:thomazp at gmail.com>
thomazp at yahoo.com<mailto:thomazp at yahoo.com>
Engenheiro eletricista/eletrônico.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.oetiker.ch/pipermail/mrtg/attachments/20160711/7530a923/attachment.html>


More information about the mrtg mailing list