带连接的 SAS Enterprise Guide 自动化计划?

SAS Enterprise Guide automation schedule with connection?

我已经将 vbs 制作到 运行 项目并在 windows cmd 上生成报告,但机器应该登录到单点登录工具栏。

我的问题是,windows 计划任务不包括 SAS 登录信息。有什么方法可以将登录信息放入 vbscript 中?或任何其他包含登录的方式,这样我就不必事先登录使用工具栏?

谢谢!

'-------------------
'Log on using Profile
'-------------------
' Set to your metadata profile name, or "Null Provider" for just Local server
app.SetActiveProfile("My Profile")