[mrtg] I still couldn't execute mrtg using cron.
thomaz.portella at portoseguro.com.br
thomaz.portella at portoseguro.com.br
Mon Jul 18 15:31:23 CEST 2016
The problem was solved calling a script , and the mrtg command put in
this script.
I knew it wasn't caused by the user because I did all task with root
user.
Thanks everybody,
Thomaz Portella
Arquitetura de InfraEstrutura - Tel.: 11 23936908
Corporação Porto Seguro - http://www.portoseguro.com.br
De: "McDonald, Daniel (Dan)" <Dan.McDonald at austinenergy.com>
Para: "mrtg at lists.oetiker.ch" <mrtg at lists.oetiker.ch>
Data: 15/07/2016 17:44
Assunto: Re: [mrtg] I still couldn't execute mrtg using cron.
Enviado por: "mrtg"
<mrtg-bounces+thomaz.portella=portoseguro.com.br at lists.oetiker.ch>
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 _______________________________________________
mrtg mailing list
mrtg at lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg
As informações contidas nesta mensagem e no(s) arquivo(s) anexo(s) são
endereçadas exclusivamente à(s) pessoa(s) e/ou instituição(ões) acima
indicada(s) e podem conter informações confidenciais e/ou privilegiadas.
Se você não for o destinatário ou a pessoa autorizada a recebê-la, queira,
por favor, retorná-la ao remetente e em seguida apagá-la definitivamente.
Qualquer uso, cópia ou divulgação das informações nela contidas, na
íntegra ou parcialmente, são proibidas e serão tratadas conforme
legislação vigente.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.oetiker.ch/pipermail/mrtg/attachments/20160718/86d5bd5b/attachment.html>
More information about the mrtg
mailing list