Problems with user cron environment
Dean Do
dean.do@thomson.net
Wed Apr 20 03:47:00 GMT 2005
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
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cron_diagnose.txt
URL: <http://cygwin.com/pipermail/cygwin/attachments/20050420/4793e596/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cygcheck.txt
URL: <http://cygwin.com/pipermail/cygwin/attachments/20050420/4793e596/attachment-0001.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: crontab_l.txt
URL: <http://cygwin.com/pipermail/cygwin/attachments/20050420/4793e596/attachment-0002.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: set_output_cron.txt
URL: <http://cygwin.com/pipermail/cygwin/attachments/20050420/4793e596/attachment-0003.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: set_output_pc.txt
URL: <http://cygwin.com/pipermail/cygwin/attachments/20050420/4793e596/attachment-0004.txt>
-------------- next part --------------
--
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/
More information about the Cygwin
mailing list