Could it be that your scheduled task is running with different credentials than when you run from the console? That could result in failure handling sucking time in the scheduled task maybe?
In reply to Re: Script slow only when run as scheduled tasks on Windows Server
by GrandFather
in thread Script slow only when run as scheduled tasks on Windows Server
by Tabla
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |