This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Problems with user cron environment


Hello,

My Cygwin cron job runs as scheduled, however, I would appreciate your
assistance with the a problem with user system environment when running
cron.  In addition to the other attachments, I have provided the following
files:

set_output_pc.txt   = output of system env when running 'set' from a DOS
shell
set_output_cron.txt = output of system env when running cron

I need to build software from a DOS/cmd shell with the env as in
set_output_pc.txt.  However, when I put the build in the Cygwin cron job, I
get the env as in set_output_cron.txt, which causes problems with my build.
There are certain system variables in set_pc that are not in set_cron.
Specifically, there's a CVSROOT variable in set_pc, but set_cron does not
have this variable.  A bigger problem is that the PATH in set_cron is not
recognized by the software build program.

How can I get the the sys environment in cron to be the same as my sys env
in a DOS/cmd shell?

Thanks,
Dean




Attachment: cron_diagnose.txt
Description: Text document

Attachment: cygcheck.txt
Description: Text document

Attachment: crontab_l.txt
Description: Text document

Attachment: set_output_cron.txt
Description: Text document

Attachment: set_output_pc.txt
Description: Text document

--
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/

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]