Re: Scheduled Task
- From: Corné Bogaarts <does.not.exist@xxxxxxxxxxxxx>
- Date: Tue, 14 Jun 2005 06:14:50 +0200
The basic trick is that you can run any command-line tool from a VBscript, by
using the Wshell-object, esp. the Run- and Exec-methods
(http://www.microsoft.com/technet/scriptcenter/guide/sas_wsh_pkoy.mspx).
On Mon, 13 Jun 2005 06:43:11 -0700, dscripter
<dscripter@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
>Could you please be a bit more specific? This is the first time I have
>messed with VB Script. I am a .Net Developer using C#. I could use more
>help if possible!
>
>Thanks,
>
>
>"Corni Bogaarts" wrote:
>
>> The only way I've found is by using the 'schtasks.exe' command-line tool and
>> running it from the script.
>>
>> On Fri, 10 Jun 2005 09:06:54 -0700, dscripter
>> <dscripter@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
>>
>> >I have a script to Schedule a task on a remote server. Is it possible to
>> >specify the user to Run the schedule task as? The default is NETWORK/SYSTEM
>> >AUTHORITY. I need to specify a domain account. This is on Windows 2003
>> >Server Standard Edition. Any help would be appreciated!
>> >
>> >Thanks,
>> >Dscripter
>>
>>
.
- References:
- Scheduled Task
- From: dscripter
- Re: Scheduled Task
- From: Corné Bogaarts
- Re: Scheduled Task
- From: dscripter
- Scheduled Task
- Prev by Date: Read from file and display in email body
- Next by Date: Re: Log file!
- Previous by thread: Re: Scheduled Task
- Next by thread: login.bat
- Index(es):
Relevant Pages
|