Re: I still couldn't execute mrtg using cron.
thomaz portella <[email protected]> Thu, 14 Jul 2016 16:49:12 -0300
| Newsgroups | gmane.network.mrtg.user |
|---|---|
| Message-ID | <CAEd1yBMfn4GULcfCNRgN1MvjTZVAsH99=E4DRMwX=uhnu+isZg@mail.gmail.com> |
Use full paths ? It was that way, and didn't work, so I moved creating this script. The first attempt was: Commands with full paths + option( that case: --logging <location w/ full path> Thanks, On Jul 14, 2016 4:44 PM, "Freddie Cash" <[email protected]> wrote: > On Thu, Jul 14, 2016 at 12:40 PM, thomaz portella <[email protected]> > wrote: > >> 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 >> >> Most likely #2 applies here: > http://www.wonkity.com/~wblock/docs/html/interrupted.html > > > > -- > Freddie Cash > [email protected] > _______________________________________________ mrtg mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/mrtg