Yes, i
tried running script but same result, and yes permission are set fine, the user
have local admin on machine, I did one more thing, create the batch file and
only content of the batch is 'net send moin TEST', and use that batch file in my
script in as system("test.bat"), and now when I run the script I got the error
on console window as net is unknown command, wht i realize is that when i am
running the script in command window it able to use shell commands but when i am
executing script thru scheduler it not able to execute shell commands, any
comments?
-----Original Message-----Some ideas:
From: Jing Wee [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 31, 2002 12:02 AM
To: Khan, Moin; [EMAIL PROTECTED]
Subject: Re: Running Perl Script through Windows 2000 Task Scheduler
1. Have you tried running your script from the Task Scheduler? ( Right click on the scheduled task and select 'Run' )
2. Go to the Properties of the scheduled task and check the Security tab and see if the permission is correctly set.
3. Add $a = <STDIN> at the end of your script to keep the console open to see if any error occurred (I'm not sure if console would be visible).
Jing Wee
Hi List,
I created the perl script and using a system command to net send message to myself, and schedule that script through windows 2000 Task Scheduler, but somehow it not able to send me any mesg, but when i am trying to manually run the script from command prompt the net send work fine, any clue whts wrong there?
Thanks,
-Moin Khan
