X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Mon, 31 Mar 2008 17:19:42 -0400 From: "Pierre A. Humblet" Subject: Re: cron with gnuplot To: "Nadi Itani" , Message-id: <025901c89374$f0944f40$200010ac@wirelessworld.airvananet.com> MIME-version: 1.0 X-Mailer: Microsoft Outlook Express 6.00.2900.3138 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7bit References: <49990569962F5A4A905D4AB1A55083407DAF7D AT rfsvmail DOT internal DOT rfmd DOT com> Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Nadi, From the log you sent in cronbug.txt it looks like the script is running, confirming what you write. What do you expect it will produce? Note that the filename cron.log in your home directory conflicts with a file created by /bin/cronlog, which is run by the cron daemon to save the cron output that is mailed to the user in normal Unix systems. To avoid the conflict, change the name cron.log in your crontab to something else. Pierre ----- Original Message ----- From: "Nadi Itani" To: Sent: Monday, March 31, 2008 4:31 PM Subject: cron with gnuplot Hello, I am trying to run a cron script to generate a plot at regular intervals. Here is my crontab: # DO NOT EDIT THIS FILE - edit the master and reinstall. # (- installed on Mon Mar 31 13:19:09 2008) # (Cron version V5.0 -- $Id: crontab.c,v 1.12 2004/01/23 18:56:42 vixie Exp $) * * * * * /home/nitani/plot_test.g > cron.log 2> cron.err After this runs I, cron.log and cron.err are both 0 bytes. If I change the filename to an incorrect name I do get a file not found error in cron.err. So, I know the script is running however, I don't get any plot out. If I run the script from the command line it works fine. Please help. Thanks, Nadi Itani -------------------------------------------------------------------------------- | -- | Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple | Problem reports: http://cygwin.com/problems.html | Documentation: http://cygwin.com/docs.html | FAQ: http://cygwin.com/faq/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/