> > Another question I have is about cron and environment variables. When > I run a shell, even cmd /c, under cron the environment variable > APPDATA doesn't get set. This seems odd to me. I believe APPDATA > gets set from shell32 which should be loaded when cron runs 'cmd /c > somescript.bat'. >
The simple crontab below will show you what environment variables cron knows about. * * * * * /usr/bin/env Also, 'man 5 crontab' describes cron's handling of environment variables. --- -- 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/