[mrtg] I still couldn't execute mrtg using cron.
McDonald, Daniel (Dan)
Dan.McDonald at austinenergy.com
Thu Jul 14 21:53:35 CEST 2016
More than likely, you are running from the command line with a different user than cron, so the cron user doesn’t have the same permissions as the logged in user.
From: mrtg <mrtg-bounces+dan.mcdonald=austinenergy.com at lists.oetiker.ch> on behalf of thomaz portella <thomazp at gmail.com>
Date: Thursday, July 14, 2016 at 12:40 PM
To: "mrtg at lists.oetiker.ch" <mrtg at lists.oetiker.ch>
Subject: [mrtg] I still couldn't execute mrtg using cron.
I still couldn't executing mrtg using machine cron.
I supposed cron wasn't running, but I put a simple script and worked.
I didn't put the mrtg command itself, but instead I made a script with the command, changed the file to be executable, and put the name of this file in the crontab.
But doesn't run .
To ensure the script was right, tiping by cmd line, it works.
Anyone knows what is wrong?
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.oetiker.ch/pipermail/mrtg/attachments/20160714/34766c12/attachment-0001.html>
More information about the mrtg
mailing list