I have a vbscript which deletes logs after 7 days. When i run it as cscript logs.vbs, it runs and works. I now want to setup it to run under a schedule every week, so i would need use task scheduler. Its on windows 2008 server. SO how would i schedule this in task scheduler, i have tried few things but when it runs, it does nothing.
DO i need to create a batch file, and just enter the command cscript d:\logs.vbs, or something.
Can anyone please advise how i can get a vbs script to run weekly under task schedule in windows 2008. The vbs script is saved on a d:\scripts.
Thanks