Appropriate location for scheduled tasks
In Windows, where is the most appropriate place to store an开发者_如何学JAVA executable that will be ran as a scheduled task on a server?
- A file share?
- "C:"?
- "C:\Windows"?
- Others?
Stay out of C: and C:\Windows. Never put it on a file share (what if it isn't available)? I'd just use a subdirectory of C:\Program Files (to be more precise, of %ProgramFiles% - the user's system may not be installed on C:, for instance).
精彩评论