Any ideas as to why my script does not run from Task Scheduler????
We have a routine that automates sending Remedy e-mail notifications to thousands of our users. The sent Items box gets filled very quickly so a VB script was created to delete all Sent items including Inbox and Deleted items. We would like the script to run nightly using Task Scheduler (Windows 2000 server) but it will not run - only works when run by double-clicking the VB script file. I verified that the task is set to run as the proper account. I point it to the VB file but it does not run.
A CMD file was created and I tried to point to this instead of the VBS - Still does not work. The CMD file is basically one line telling it to execute cscript
c:\winnt\system32\cscript.exe "c:\Delete_Mail_Script\Sentitemsdelete_Remedy.vbs")
Thanks in advance for any insight. Lewis M
We have a routine that automates sending Remedy e-mail notifications to thousands of our users. The sent Items box gets filled very quickly so a VB script was created to delete all Sent items including Inbox and Deleted items. We would like the script to run nightly using Task Scheduler (Windows 2000 server) but it will not run - only works when run by double-clicking the VB script file. I verified that the task is set to run as the proper account. I point it to the VB file but it does not run.
A CMD file was created and I tried to point to this instead of the VBS - Still does not work. The CMD file is basically one line telling it to execute cscript
Thanks in advance for any insight. Lewis M