BookmarkSubscribeRSS Feed
gkakani
Calcite | Level 5

I moved my SAS tool and its related VBS script to a new folder. I've updated the paths in both the Task Scheduler action settings and inside the VBScript (using full paths to the SAS executable).

The script runs perfectly when I execute it manually, but when run by Task Scheduler, it just shows a "Running" status indefinitely and never finishes.

What am I likely missing regarding the working directory or the scheduled environment that would cause the script to hang on the SAS call? 
(current my only solution is to create a new vbs script and schedule it in task scheduler and disable the old one.)

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 0 replies
  • 337 views
  • 0 likes
  • 1 in conversation