Find the answer to your Linux question:
Results 1 to 2 of 2
I have created a small script to compile a network weathermap using the cacti RRD files. The script reads the *.conf files and outputs an html and a png file. ...
  1. #1
    Just Joined!
    Join Date
    Jun 2010
    Posts
    2

    crontab script is not producing any output

    I have created a small script to compile a network weathermap using the cacti RRD files. The script reads the *.conf files and outputs an html and a png file. When I manually run the script it works normally.

    I have edited my crontab with the crontab -e command to run this script every minute


    The problem is script itself works when I manually call it but when it is run using crontab it doesn't do anything. The cron.log shows that the script IS being run every minute with no errors but the files (html and png) do not get written. What am I doing wrong and how do troubleshoot this?

    Thanks for any help

  2. #2
    Just Joined!
    Join Date
    Jun 2010
    Posts
    2
    Figured it out, I used the absolute path for the output files and I am now getting updated files.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •