Re: I still couldn't execute mrtg using cron.

"McDonald, Daniel (Dan)" <[email protected]> Thu, 14 Jul 2016 19:53:35 +0000
Newsgroups gmane.network.mrtg.user
Message-ID <[email protected]>
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 <[email protected]> on behalf of thomaz portella <[email protected]>
Date: Thursday, July 14, 2016 at 12:40 PM
To: "[email protected]" <[email protected]>
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

_______________________________________________
mrtg mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg