delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/03/31/16:21:01

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" <Pierre DOT Humblet AT ieee DOT org>
Subject: Re: cron with gnuplot
To: "Nadi Itani" <NItani AT rfmd DOT com>, <cygwin AT cygwin DOT com>
Message-id: <025901c89374$f0944f40$200010ac@wirelessworld.airvananet.com>
MIME-version: 1.0
X-Mailer: Microsoft Outlook Express 6.00.2900.3138
References: <49990569962F5A4A905D4AB1A55083407DAF7D AT rfsvmail DOT internal DOT rfmd DOT com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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" <NItani AT rfmd DOT com>
To: <cygwin AT cygwin DOT com>
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019