Re: Scheduled task onlogon monthly?
From: mscir (mscir_at_access4less.com.net.org.uk)
Date: 05/27/04
- Next message: Phil: "Re: If I format......"
- Previous message: J M 8941: "Re: Windows failed to start "STOP: 0x0000007f ""
- Next in thread: Dan: "Re: Scheduled task onlogon monthly?"
- Reply: Dan: "Re: Scheduled task onlogon monthly?"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 27 May 2004 14:29:42 -0700
Crafty Outlaw wrote:
> Scott,
>
> You could do it with a very simple script file. The example below
> will execute "CMD" (DOS Prompt) on day number 1. Just
> change the day of the month and the app to whatever you want.
>
> Copy and paste into Notepad and save as a .vbs file. Then put it
> in the Start Up folder for the applicable user.
>
> Option Explicit
>
> Dim shell
>
> ' This will run the app every month on the 1st
> If day(Date) = 1 Then
> Set shell = CreateObject("WScript.Shell")
> shell.Run("CMD")
> shell.AppActivate "CMD"
> End If
>
> Let me know how it works out for you.
> Dan
Dan, that's a nice trick. Can you tell me how to read up on this? I want
to run 2 different tasks every fifteen minutes, running the 2nd two
minutes after the first. Are there good sites dealing with using .vbs
for scheculed tasks that you might recommend?
Thanks,
Mike
- Next message: Phil: "Re: If I format......"
- Previous message: J M 8941: "Re: Windows failed to start "STOP: 0x0000007f ""
- Next in thread: Dan: "Re: Scheduled task onlogon monthly?"
- Reply: Dan: "Re: Scheduled task onlogon monthly?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|