Did you check the effective user?(in the same vein as
Did you check the environment?)
A typical problem for people developing CGI code on Windows / IIS - My script runs from the command line but breaks when I run it under IIS. Problems like this usually relate to the script being run under a restricted user account. Scheduled jobs suffer from a similar range of problems.
Things that may not work if you have user/permissions issues include:
- Read/write to a local file.
- Accessing network shares.
- Read/write registry settings.
- Working with functionality that depends on any of the above e.g. ODBC.