Networking Forums

Networking Forums > Computer Networking > Linux Networking > cygwin CRON problem

Reply
Thread Tools Display Modes

cygwin CRON problem

 
 
one1alpha1
Guest
Posts: n/a

 
      01-04-2005, 11:36 PM
I'm able to access the local files by not the NETWORK files from cygwin
CRON. However the same script runs perfectly from the cygwin shell
command line.

Here is the script:
#!/bin/ksh
set -x
if [ -f /cygdrive/d/jobs/test.sh ]
then
echo 'file found'
else
echo 'not found'
fi


Here /cygdrive/d is the local drive.
But if I change it to :
if [ -f /cygdrive/r/test.sh ]

Then it doesn't work from CRON. It says 'not found'. However from
command line it works correctly.


Also notice that I'm using personal account (and not Administrator) to
run cygwin and cron.

Any suggestion please?

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cygwin problem with cron and networked drives ambroze Linux Networking 5 06-29-2006 08:39 PM
Problem with Cron script in mailserver Doug Laidlaw Linux Networking 2 07-17-2004 02:08 PM
cygwin & win2k & ssh john Linux Networking 2 12-19-2003 05:33 PM
nis and cron Eddie Linux Networking 0 09-09-2003 11:40 PM
Cygwin problem with 'cron' and networking rhubarbe Linux Networking 1 08-29-2003 06:59 AM



1 2 3 4 5 6 7 8 9 10 11