Re: scheduled script not using passphrase
You cannot access Pageant running in a different Windows session.
See also https://winscp.net/eng/docs/faq_passphrase
See also https://winscp.net/eng/docs/faq_passphrase
Before posting, please read how to report bug or request support effectively.
Bug reports without an attached log file are usually useless.